Browse Source

Added proper script syntax to postinstall and removal.

website
Tim Zabel 7 years ago
parent
commit
a815e91099
2 changed files with 8 additions and 8 deletions
  1. +3
    -3
      scripts/postinstall
  2. +5
    -5
      scripts/removal

+ 3
- 3
scripts/postinstall View File

@ -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
;;

+ 5
- 5
scripts/removal View File

@ -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
;;

Loading…
Cancel
Save