aboutsummaryrefslogtreecommitdiffstats
path: root/main/privoxy/APKBUILD
diff options
context:
space:
mode:
authorBreno Leitao <breno.leitao@gmail.com>2017-03-25 21:22:46 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-03-25 22:39:24 +0100
commit89c339b6cab6713cb585a3426e545a63d94c3013 (patch)
tree22320d850303860f1265aa91c5ec8263ef0b34c0 /main/privoxy/APKBUILD
parentc841fb0119ff6aafa411a2765ad747643693f748 (diff)
downloadaports-89c339b6cab6713cb585a3426e545a63d94c3013.tar.bz2
aports-89c339b6cab6713cb585a3426e545a63d94c3013.tar.xz
main/privoxy: do not fail on file removal
Privoxy is failing if it tries to remove a directory that does not exist. This patch just let the build continue if the directory-to-be-removed does not exists anymore.
Diffstat (limited to 'main/privoxy/APKBUILD')
-rw-r--r--main/privoxy/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/privoxy/APKBUILD b/main/privoxy/APKBUILD
index 8ee9cb89a2..f94b2a31d3 100644
--- a/main/privoxy/APKBUILD
+++ b/main/privoxy/APKBUILD
@@ -50,7 +50,7 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
- rm $pkgdir/var/log/privoxy/*
+ rm $pkgdir/var/log/privoxy/* || true
install -D -m755 "$srcdir"/privoxy.initd "$pkgdir"/etc/init.d/privoxy
install -D -m644 "$srcdir"/privoxy.logrotate \
"$pkgdir"/etc/logrotate.d/privoxy