From eb36c63ae87781b447d6c0f2ff302144f3f72b64 Mon Sep 17 00:00:00 2001 From: Tim Zabel Date: Sat, 29 Apr 2017 22:35:47 -0400 Subject: [PATCH] Fixed errors with calling scripts within postinstall and removal. --- scripts/postinstall | 10 +++++----- scripts/removal | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/postinstall b/scripts/postinstall index 1f9b19f..b863519 100644 --- a/scripts/postinstall +++ b/scripts/postinstall @@ -29,14 +29,14 @@ do [Nn]* ) exit;; esac done - ./usr/local/bin/cs/idea.sh + bash /usr/local/bin/cs/idea.sh dnf copr enable phracek/PyCharm; dnf install pycharm-community; # TODO PROLOG wget https://mirror.racket-lang.org/installers/6.8/racket-6.8-x86_64-linux.sh chmod +x racket-6.8-x86_64-linux.sh - ./racket-6.8-x86_64-linux.sh - ./usr/local/bin/cs/logisim.sh - ./usr/local/bin/cs/jflap.sh + bash /racket-6.8-x86_64-linux.sh + bash /usr/local/bin/cs/logisim.sh + bash /usr/local/bin/cs/jflap.sh ;; "IT/WMC") echo -e "Welcome to the TigerOS IT/WMC package installer script. @@ -92,7 +92,7 @@ do esac done dnf install -y eclipse-jdt ruby sqlite plantuml gitk geany - ./usr/local/bin/se/spin.sh && ./usr/bin/tigeros/se/alloy.sh + bash /usr/local/bin/se/spin.sh && bash /usr/bin/tigeros/se/alloy.sh echo "Install finished" exit ;; diff --git a/scripts/removal b/scripts/removal index de4205a..6b3db9f 100644 --- a/scripts/removal +++ b/scripts/removal @@ -31,9 +31,9 @@ do [Nn]* ) exit;; esac done - ./usr/local/bin/cs/idea.sh --remove # removes Intellij IDEA - ./usr/local/bin/cs/logisim.sh --remove # removes logisim - ./usr/local/bin/cs/jflap.sh --remove # removes JFLAP + bash /usr/local/bin/cs/idea.sh --remove # removes Intellij IDEA + bash /usr/local/bin/cs/logisim.sh --remove # removes logisim + bash /usr/local/bin/cs/jflap.sh --remove # removes JFLAP echo "Removal finished." exit ;; @@ -78,8 +78,8 @@ do esac done sudo dnf -y remove eclipse-jdt ruby sqlite gitk plantuml - ./usr/local/bin/se/spin.sh --remove - ./usr/local/bin/se/alloy.sh --remove + bash /usr/local/bin/se/spin.sh --remove + bash /usr/local/bin/se/alloy.sh --remove echo "Removal finished." exit ;;