From a815e9109917997b1a7a23e25c2983a414b576e5 Mon Sep 17 00:00:00 2001 From: Tim Zabel Date: Tue, 25 Apr 2017 17:57:03 -0400 Subject: [PATCH] Added proper script syntax to postinstall and removal. --- scripts/postinstall | 6 +++--- scripts/removal | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/postinstall b/scripts/postinstall index 3188afc..901e487 100644 --- a/scripts/postinstall +++ b/scripts/postinstall @@ -35,8 +35,8 @@ do 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/tigeros/cs/logisim.sh - /usr/local/tigeros/cs/jflap.sh + ./usr/local/tigeros/cs/logisim.sh + ./usr/local/tigeros/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/tigeros/se/spin.sh && /usr/local/tigeros/se/alloy.sh + ./usr/local/tigeros/se/spin.sh && ./usr/local/tigeros/se/alloy.sh echo "Install finished" exit ;; diff --git a/scripts/removal b/scripts/removal index ba4a026..015e0ef 100644 --- a/scripts/removal +++ b/scripts/removal @@ -31,9 +31,9 @@ do [Nn]* ) exit;; esac done - /usr/local/tigeros/cs/idea.sh --remove # removes Intellij IDEA - /usr/local/tigeros/cs/logisim.sh --remove # removes logisim - /usr/local/tigeros/cs/jflap.sh --remove # removes JFLAP + ./usr/local/tigeros/cs/idea.sh --remove # removes Intellij IDEA + ./usr/local/tigeros/cs/logisim.sh --remove # removes logisim + ./usr/local/tigeros/cs/jflap.sh --remove # removes JFLAP ;; "IT/WMC") echo -e "Welcome to the TigerOS IT/WMC package removal script.\n @@ -74,8 +74,8 @@ do esac done sudo dnf -y remove eclipse-jdt ruby sqlite gitk plantuml - /usr/local/tigeros/se/spin.sh --remove - /usr/local/tigeros/se/alloy.sh --remove + ./usr/local/tigeros/se/spin.sh --remove + ./usr/local/tigeros/se/alloy.sh --remove echo "All files have been removed." exit ;;