diff --git a/install_student.sh b/install_student.sh index 234ef4e3ab74b83e5426cc9f81e19c8958c412b3..f47c0b27b0914af626fca5d1f84481c263235eb4 100644 --- a/install_student.sh +++ b/install_student.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh echo "Ce programme va installer EasyCom sur cet ordinateur." echo "Appuyez sur [ENTRÉE] pour continuer ou Ctrl+C pour annuler" @@ -19,9 +19,10 @@ echo "Making things executable" chmod +x ~/.bin/easycom chmod +x ~/.easycom/start.sh -echo "Adding API to ~/.bashrc" -echo "sh -c '~/.easycom/start.sh' & disown" >> ~/.bashrc +echo "Adding API to autostat programs" +mv ~/.easycom/EasycomAPI.desktop ~/.config/autostart +echo "Adding easycom to the PATH environment variable" echo "export PATH='~/.bin:$PATH'" >> ~/.bashrc echo "Removing garbage"