index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | core/glib2/PKGBUILD | 8 |
diff --git a/core/glib2/PKGBUILD b/core/glib2/PKGBUILD index d30aef16..5589754c 100644 --- a/core/glib2/PKGBUILD +++ b/core/glib2/PKGBUILD @@ -23,3 +23,11 @@ if [ "${CARCH}" = "i486" ]; then ' )" fi + +# remove usr/lib/installed-tests only if it exists +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@ + ' +)" |