diff options
author | Breno Leitao <breno.leitao@gmail.com> | 2017-03-25 21:22:46 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-25 22:39:24 +0100 |
commit | 89c339b6cab6713cb585a3426e545a63d94c3013 (patch) | |
tree | 22320d850303860f1265aa91c5ec8263ef0b34c0 /main/privoxy/APKBUILD | |
parent | c841fb0119ff6aafa411a2765ad747643693f748 (diff) | |
download | aports-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/APKBUILD | 2 |
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 |