Browse Source

Fixed errors with calling scripts within postinstall and removal.

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

+ 5
- 5
scripts/postinstall View File

@ -29,14 +29,14 @@ do
[Nn]* ) exit;; [Nn]* ) exit;;
esac esac
done done
./usr/local/bin/cs/idea.sh
bash /usr/local/bin/cs/idea.sh
dnf copr enable phracek/PyCharm; dnf install pycharm-community; dnf copr enable phracek/PyCharm; dnf install pycharm-community;
# TODO PROLOG # TODO PROLOG
wget https://mirror.racket-lang.org/installers/6.8/racket-6.8-x86_64-linux.sh 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 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") "IT/WMC")
echo -e "Welcome to the TigerOS IT/WMC package installer script. echo -e "Welcome to the TigerOS IT/WMC package installer script.
@ -92,7 +92,7 @@ do
esac esac
done done
dnf install -y eclipse-jdt ruby sqlite plantuml gitk geany 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" echo "Install finished"
exit exit
;; ;;

+ 5
- 5
scripts/removal View File

@ -31,9 +31,9 @@ do
[Nn]* ) exit;; [Nn]* ) exit;;
esac esac
done 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." echo "Removal finished."
exit exit
;; ;;
@ -78,8 +78,8 @@ do
esac esac
done done
sudo dnf -y remove eclipse-jdt ruby sqlite gitk plantuml 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." echo "Removal finished."
exit exit
;; ;;

Loading…
Cancel
Save