summaryrefslogtreecommitdiffstats
path: root/system/bleachbit/patches/bleachbit-0.4.1-Unix.py.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/bleachbit/patches/bleachbit-0.4.1-Unix.py.diff')
-rw-r--r--system/bleachbit/patches/bleachbit-0.4.1-Unix.py.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/bleachbit/patches/bleachbit-0.4.1-Unix.py.diff b/system/bleachbit/patches/bleachbit-0.4.1-Unix.py.diff
new file mode 100644
index 0000000000..e77e2ab025
--- /dev/null
+++ b/system/bleachbit/patches/bleachbit-0.4.1-Unix.py.diff
@@ -0,0 +1,13 @@
+--- trunk/bleachbit/Unix.py 2009/02/08 20:08:26 274
++++ trunk/bleachbit/Unix.py 2009/05/08 02:27:54 346
+@@ -447,7 +447,9 @@
+ regex = '-[0-9]{8}$'
+ globpaths = ( '/var/log/*-*', '/var/log/*/*-*' )
+ for path in FileUtilities.globex(globpaths, regex):
+- yield path
++ whitelist_re = '^/var/log/(removed_)?(packages|scripts)'
++ if None == re.match(whitelist_re, path): # for Slackware, Launchpad #367575
++ yield path
+
+
+ def wine_to_linux_path(wineprefix, windows_pathname):