diff options
author | Pierre Cazenave <pwcazenave at gmail {dot} com> | 2010-05-12 23:33:20 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 23:33:20 +0200 |
commit | 6f4c95667119ea9c55937d38b139974966360b0c (patch) | |
tree | c26136a060973146a78de00ffabbef08a81135fe /system/bleachbit/patches/bleachbit-0.4.1-Unix.py.diff | |
parent | 29e232356b58c678f69097e170850d6652561209 (diff) |
system/bleachbit: Added to 12.2 repository
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.diff | 13 |
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 0000000000000..e77e2ab025ea1 --- /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): |