From d004409af9b56c559097712233ade4079d1128cf Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 25 Jun 2015 17:36:36 -0700 Subject: [PATCH] Coerse shebangs to #!/usr/bin/python2 Arch Linux's default "python" install points to Python 3, and mintmenu is certainly not compatible with it! Closes #134. --- usr/bin/mintmenu | 2 +- usr/lib/linuxmint/mintMenu/capi.py | 2 +- usr/lib/linuxmint/mintMenu/compile.py | 2 +- usr/lib/linuxmint/mintMenu/keybinding.py | 2 +- usr/lib/linuxmint/mintMenu/mintMenu.py | 2 +- usr/lib/linuxmint/mintMenu/mintMenuConfig.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/__init__.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/applications.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/easybuttons.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/easyfiles.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/easygsettings.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/execute.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/filemonitor.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/get_apt_cache.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/places.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/recent.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/system_management.py | 2 +- usr/lib/linuxmint/mintMenu/pointerMonitor.py | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/usr/bin/mintmenu b/usr/bin/mintmenu index 95ec494..4c2cddb 100755 --- a/usr/bin/mintmenu +++ b/usr/bin/mintmenu @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 import sys, os diff --git a/usr/lib/linuxmint/mintMenu/capi.py b/usr/lib/linuxmint/mintMenu/capi.py index c02421e..d4e2c44 100644 --- a/usr/lib/linuxmint/mintMenu/capi.py +++ b/usr/lib/linuxmint/mintMenu/capi.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import gi import ctypes diff --git a/usr/lib/linuxmint/mintMenu/compile.py b/usr/lib/linuxmint/mintMenu/compile.py index 9ed83c1..16aede6 100755 --- a/usr/lib/linuxmint/mintMenu/compile.py +++ b/usr/lib/linuxmint/mintMenu/compile.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import compileall diff --git a/usr/lib/linuxmint/mintMenu/keybinding.py b/usr/lib/linuxmint/mintMenu/keybinding.py index ae9d96a..3c1af48 100644 --- a/usr/lib/linuxmint/mintMenu/keybinding.py +++ b/usr/lib/linuxmint/mintMenu/keybinding.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8; -*- # Copyright (C) 2013 Ozcan Esen diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index 91d85ca..b1a8ef1 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import gi gi.require_version("Gtk", "2.0") diff --git a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py index 53c3589..487cc08 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py +++ b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import sys diff --git a/usr/lib/linuxmint/mintMenu/plugins/__init__.py b/usr/lib/linuxmint/mintMenu/plugins/__init__.py index 013e4b7..0e1d5dd 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/__init__.py +++ b/usr/lib/linuxmint/mintMenu/plugins/__init__.py @@ -1 +1 @@ -#!/usr/bin/python +#!/usr/bin/python2 diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index 3b01bca..d03254a 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import gi gi.require_version("Gtk", "2.0") diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index fe16e6e..8e909ce 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 from gi.repository import Gtk, Gdk, GLib from gi.repository import Pango diff --git a/usr/lib/linuxmint/mintMenu/plugins/easyfiles.py b/usr/lib/linuxmint/mintMenu/plugins/easyfiles.py index 9359070..9492776 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easyfiles.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easyfiles.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import os import os.path diff --git a/usr/lib/linuxmint/mintMenu/plugins/easygsettings.py b/usr/lib/linuxmint/mintMenu/plugins/easygsettings.py index 52c964e..4a900a3 100644 --- a/usr/lib/linuxmint/mintMenu/plugins/easygsettings.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easygsettings.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 from gi.repository import Gio diff --git a/usr/lib/linuxmint/mintMenu/plugins/execute.py b/usr/lib/linuxmint/mintMenu/plugins/execute.py index ae71dab..85e9020 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/execute.py +++ b/usr/lib/linuxmint/mintMenu/plugins/execute.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import os diff --git a/usr/lib/linuxmint/mintMenu/plugins/filemonitor.py b/usr/lib/linuxmint/mintMenu/plugins/filemonitor.py index 0637232..e3dfbaf 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/filemonitor.py +++ b/usr/lib/linuxmint/mintMenu/plugins/filemonitor.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import os import os.path diff --git a/usr/lib/linuxmint/mintMenu/plugins/get_apt_cache.py b/usr/lib/linuxmint/mintMenu/plugins/get_apt_cache.py index 265a61f..ce9fe02 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/get_apt_cache.py +++ b/usr/lib/linuxmint/mintMenu/plugins/get_apt_cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import apt, sys diff --git a/usr/lib/linuxmint/mintMenu/plugins/places.py b/usr/lib/linuxmint/mintMenu/plugins/places.py index ad72d9c..df3c910 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/places.py +++ b/usr/lib/linuxmint/mintMenu/plugins/places.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 from gi.repository import Gtk, Gio import os diff --git a/usr/lib/linuxmint/mintMenu/plugins/recent.py b/usr/lib/linuxmint/mintMenu/plugins/recent.py index 740340e..0759a3b 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/recent.py +++ b/usr/lib/linuxmint/mintMenu/plugins/recent.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import gi gi.require_version("Gtk", "2.0") diff --git a/usr/lib/linuxmint/mintMenu/plugins/system_management.py b/usr/lib/linuxmint/mintMenu/plugins/system_management.py index 5ec974f..4cc4c95 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/system_management.py +++ b/usr/lib/linuxmint/mintMenu/plugins/system_management.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import gi gi.require_version("Gtk", "2.0") diff --git a/usr/lib/linuxmint/mintMenu/pointerMonitor.py b/usr/lib/linuxmint/mintMenu/pointerMonitor.py index 43e10a2..714ce72 100644 --- a/usr/lib/linuxmint/mintMenu/pointerMonitor.py +++ b/usr/lib/linuxmint/mintMenu/pointerMonitor.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import gi gi.require_version("Gtk", "2.0")