From 13c78fe9ec87a69920d06e060d7613e5c48193ca Mon Sep 17 00:00:00 2001 From: Ethan Robert <ethan.rbrt90@gmail.com> Date: Wed, 26 Feb 2025 17:01:56 +0100 Subject: [PATCH] Fixed install_student.sh --- install_student.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install_student.sh b/install_student.sh index 234ef4e..f47c0b2 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" -- GitLab