aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ufw/fix-lib_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ufw/fix-lib_path.patch')
-rw-r--r--testing/ufw/fix-lib_path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/ufw/fix-lib_path.patch b/testing/ufw/fix-lib_path.patch
new file mode 100644
index 0000000000..aff9826989
--- /dev/null
+++ b/testing/ufw/fix-lib_path.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -55,7 +55,7 @@
+ return
+
+ real_confdir = os.path.join('/etc')
+- real_statedir = os.path.join('/lib', 'ufw')
++ real_statedir = os.path.join('/usr/lib', 'ufw')
+ real_prefix = self.prefix
+ if self.home != None:
+ real_confdir = self.home + real_confdir