[alsa-devel] [PATCH - hwmixvolume v2 5/7] hwmixvolume: switch the shebang to python

Emmanuel Gil Peyrot linkmauve at jabberfr.org
Tue Sep 18 15:42:35 CEST 2018


From: Emmanuel Gil Peyrot <linkmauve at 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 at linkmauve.fr>

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
-- 
2.19.0



More information about the Alsa-devel mailing list