Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-03 06:39:39 +0200
committerErich Eckner <git@eckner.net>2019-07-03 06:39:39 +0200
commit150ce6f2eb0ebba0fb68f38e5aa03a5c839f31d1 (patch)
tree9bd5d906ac7ddd97d4e2bd83d4122f9c483bf1bf
parentfce183c8f47a180876d753b8144746865fa1c287 (diff)
extra/java8-openjdk: make failing rm non-fatal
-rw-r--r--extra/java8-openjdk/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD
index 0a99ad97..595f62b7 100644
--- a/extra/java8-openjdk/PKGBUILD
+++ b/extra/java8-openjdk/PKGBUILD
@@ -18,6 +18,15 @@ eval "$(
'
)"
+eval "$(
+ declare -f package_jre8-openjdk-headless | \
+ sed '
+ s/^\s*rm\s/\0-f /
+ T
+ s/ -f -f / -f /
+ '
+)"
+
# i486-specific
if [ "${CARCH}" = "i486" ]; then
_JARCH=i386