]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/oinkmaster-2.0-add_community_rules.patch
squid 3.5.28: latest patches (01-02)
[people/pmueller/ipfire-2.x.git] / src / patches / oinkmaster-2.0-add_community_rules.patch
CommitLineData
1043cb0a
AF
1diff -Naur oinkmaster-2.0.org/oinkmaster.pl oinkmaster-2.0/oinkmaster.pl
2--- oinkmaster-2.0.org/oinkmaster.pl 2007-04-20 05:20:32.000000000 +0200
3+++ oinkmaster-2.0/oinkmaster.pl 2013-07-15 16:46:40.000000000 +0200
4@@ -1159,6 +1159,10 @@
5 }
6 }
7
8+ # hack for community-ruleset.
9+ if (-d "$dir/community-rules") {
10+ move("$dir/community-rules","$dir/$rules_dir");
11+ }
12 # Make sure that non-empty rules directory existed in archive.
13 # We permit empty rules directory if min_files is set to 0 though.
14 clean_exit("$url: no \"$rules_dir\" directory found in tar file.")