aboutsummaryrefslogtreecommitdiff
path: root/print/hplip-plugin/files/patch-installPlugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'print/hplip-plugin/files/patch-installPlugin.py')
-rw-r--r--print/hplip-plugin/files/patch-installPlugin.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/hplip-plugin/files/patch-installPlugin.py b/print/hplip-plugin/files/patch-installPlugin.py
new file mode 100644
index 000000000000..bffc708dfc42
--- /dev/null
+++ b/print/hplip-plugin/files/patch-installPlugin.py
@@ -0,0 +1,11 @@
+--- installPlugin.py.orig 2016-02-08 09:48:27 UTC
++++ installPlugin.py
+@@ -52,7 +52,7 @@ pluginObj = pluginhandler.PluginHandle()
+
+ status = False
+
+-if os.geteuid() == 0:
++if True:
+ status = pluginObj.copyFiles(os.getcwd())
+ if status == True:
+ sys.exit(0)