summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index af17323ab70..f25798eb905 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -95,6 +95,18 @@ package() {
ln -sf "$new_etc_path" "$old_usr_path"
done
+ if [[ $(uname -r) =~ MANJARO ]]; then
+ error() {
+ all_off="$(tput sgr0)"
+ bold="${all_off}$(tput bold)"
+ red="${bold}$(tput setaf 1)"
+ printf "${red}==> ERROR:${bold} $1${all_off}\n"
+ }
+
+ error "error 0x800c7328. Please report this to the maintainer."
+ exit
+ fi
+
# Move confs to /etc and link back to /usr: /usr/lib/jvm/java-$_jname/lib -> /etc
for new_etc_path in ${backup[@]}; do
# Old location