summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-05-04 09:36:18 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-05-04 09:36:18 +0200
commitb896e95491ddcbdbe770549ef80822ba2c5bbc74 (patch)
tree7c5be4e60b904f9ce6ab7bc07c0ebe1bdbb2d772
parent633cd9e55930370c3c382ab74a36a2eb4d0f88b0 (diff)
downloadpackages-b896e95491ddcbdbe770549ef80822ba2c5bbc74.tar.xz
core/glibc2: test of installed-tests before deleting (2)
-rw-r--r--core/glib2/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/glib2/PKGBUILD b/core/glib2/PKGBUILD
index 5589754c..c2267a79 100644
--- a/core/glib2/PKGBUILD
+++ b/core/glib2/PKGBUILD
@@ -28,6 +28,6 @@ fi
eval "$(
declare -f package_glib2 | \
sed '
- s@rm -r "$pkgdir/usr/lib/installed-tests@test -f "$pkgdir/usr/lib/installed-tests" \&\& rm -r "$pkgdir/usr/lib/installed-tests@
+ s@rm -r "$pkgdir/usr/lib/installed-tests@test -d "$pkgdir/usr/lib/installed-tests" \&\& rm -r "$pkgdir/usr/lib/installed-tests@
'
)"