diff mbox series

[-,hwmixvolume,v2,5/7] hwmixvolume: switch the shebang to python

Message ID 20180918134237.8489-6-linkmauve@jabberfr.org (mailing list archive)
State New, archived
Headers show
Series [-,hwmixvolume,v2,1/7] hwmixvolume: use four spaces instead of one tab for indent | expand

Commit Message

Emmanuel Gil Peyrot Sept. 18, 2018, 1:42 p.m. UTC
From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

This signifies that this code is now compatible with both Python 2 and
Python 3, as per PEP-0394[1].

[1] https://www.python.org/dev/peps/pep-0394/

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
diff mbox series

Patch

diff --git a/hwmixvolume/hwmixvolume b/hwmixvolume/hwmixvolume
index 7f8ba8e..4804a9b 100755
--- a/hwmixvolume/hwmixvolume
+++ b/hwmixvolume/hwmixvolume
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python2
+#!/usr/bin/env python
 
 # hwmixvolume - ALSA hardware mixer volume control applet
 # Copyright (c) 2009-2010 Clemens Ladisch