diff options
| author | Abel Tim <git@abeltim.com> | 2025-06-01 16:04:57 +0200 |
|---|---|---|
| committer | Abel Tim <git@abeltim.com> | 2025-06-01 16:04:57 +0200 |
| commit | 33accd2632d656bca22e479b8bf738f8ffcc5846 (patch) | |
| tree | 89069835934260a0fa4232f2aefdc698d9cc64c7 /setup | |
| parent | 7542cc582749f1c955600854f35edcc9f997908c (diff) | |
| download | robotica-33accd2632d656bca22e479b8bf738f8ffcc5846.tar.gz robotica-33accd2632d656bca22e479b8bf738f8ffcc5846.zip | |
Needed to use raw files suerd gt html page
Multi-line description of commit,
feel free to be detailed.
Signed-off-by: Abel Tim <git@abeltim.com>
Diffstat (limited to 'setup')
| -rw-r--r-- | setup/createlivedrive.md | 2 | ||||
| -rw-r--r-- | setup/recoscript.sh | 8 | ||||
| -rw-r--r-- | setup/selectscript.sh | 8 | ||||
| -rw-r--r-- | setup/setupscr.sh | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/setup/createlivedrive.md b/setup/createlivedrive.md index c78bd66..25873d4 100644 --- a/setup/createlivedrive.md +++ b/setup/createlivedrive.md @@ -4,4 +4,4 @@ 3. In order to boot the system you will need to turn of the device where you will run it on. After that you will need to go into you system's boot menu. For the laptops at school you will need to enter it with this [manual](https://support.lenovo.com/us/en/solutions/ht104668-how-to-select-boot-device-from-bios-boot-menu-ideapad-thinkpad-thinkstation-thinkcentre-ideacentre). If you want to do it via another device you will need to search for an manual yourself. -4. Run the [setup script](https://github.com/mendelcollege-robotics/robotica/blob/main/setup/setupscr.sh) via *sh -c "$(curl -sSL https://github.com/mendelcollege-robotics/robotica/blob/main/setup/setupscr.sh)"* +4. Run the [setup script](https://github.com/mendelcollege-robotics/robotica/blob/main/setup/setupscr.sh) via *sh -c "$(curl -sSL https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/setupscr.sh)"* diff --git a/setup/recoscript.sh b/setup/recoscript.sh index 06eaff6..d3911dd 100644 --- a/setup/recoscript.sh +++ b/setup/recoscript.sh @@ -89,7 +89,7 @@ echo $pass | sudo -S -k rm -rf /tmp/openmv-ide/ echo $pass | sudo -S -k wget https://downloads.arduino.cc/arduino-ide/nightly/arduino-ide_nightly-20250529_Linux_64bit.zip -O /usr/share/arduino-ide_nightly-20250529_Linux_64bit.zip echo $pass | sudo -S -k unzip /usr/share/arduino-ide_nightly-20250529_Linux_64bit.zip -d /usr/share/arduino-ide_nightly-20250529_Linux_64bit echo $pass | sudo -S -k rm /usr/share/arduino-ide_nightly-20250529_Linux_64bit.zip -echo $pass | sudo -S -k wget https://github.com/mendelcollege-robotics/robotica/blob/main/setup/arduino2.desktop -O /usr/share/applications/arduino2.desktop +echo $pass | sudo -S -k wget https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/arduino2.desktop -O /usr/share/applications/arduino2.desktop #setup GIT/the repo echo $pass | sudo -S -k gpg --output /tmp/secrets.tar.gz --decrypt $secloc @@ -100,13 +100,13 @@ echo $pass | sudo -S -k mkdir -p "/home/$user/.ssh/" echo $pass | sudo -S -k cp ./secrets/ssh-robosoccer "/home/$user/.ssh/ssh-robosoccer" echo $pass | sudo -S -k cp ./secrets/ssh-robosoccer.pub "/home/$user/.ssh/ssh-robosoccer.pub" sudo -u $user "git config --global user.signingkey 08242B7544C76B9E9B4EFB91C6C9DC589850AB7D" -echo $pass | sudo -S -k wget https://github.com/mendelcollege-robotics/robotica/blob/main/setup/.gitmessage.txt -O /home/$user/.gitmessage.txt +echo $pass | sudo -S -k wget https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/.gitmessage.txt -O /home/$user/.gitmessage.txt sudo -u $user "git config --global commit.template ~/.gitmessage.txt" #setup xscreensaver -echo $pass | sudo -S -k wget https://github.com/mendelcollege-robotics/robotica/blob/main/setup/xscreensaver.desktop -O /etc/xdg/autostart/xscreensaver.desktop +echo $pass | sudo -S -k wget https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/xscreensaver.desktop -O /etc/xdg/autostart/xscreensaver.desktop echo $pass | sudo -S -k apt remove gnome-screensaver -echo $pass | sudo -S -k wget https://github.com/mendelcollege-robotics/robotica/blob/main/setup/.xscreensaver -O "/home/$user/.xscreensaver" +echo $pass | sudo -S -k wget https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/.xscreensaver -O "/home/$user/.xscreensaver" #setup password case $chpw in diff --git a/setup/selectscript.sh b/setup/selectscript.sh index 0baf3df..837bf3e 100644 --- a/setup/selectscript.sh +++ b/setup/selectscript.sh @@ -217,9 +217,9 @@ esac case $xscr in Y*|y*) apt install xscreensaver xscreensaver-data xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra xscreensaver-screensaver-bsod xscreensaver-screensaver-dizzy xscreensaver-screensaver-webcollage supertuxkart -y - wget https://github.com/mendelcollege-robotics/robotica/blob/main/setup/xscreensaver.desktop -O /etc/xdg/autostart/xscreensaver.desktop + wget https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/xscreensaver.desktop -O /etc/xdg/autostart/xscreensaver.desktop apt remove gnome-screensaver - wget https://github.com/mendelcollege-robotics/robotica/blob/main/setup/.xscreensaver -O "/home/$user/.xscreensaver" + wget https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/.xscreensaver -O "/home/$user/.xscreensaver" ;; esac @@ -230,7 +230,7 @@ case $DE in wget https://downloads.arduino.cc/arduino-ide/nightly/arduino-ide_nightly-20250529_Linux_64bit.zip -O /usr/share/arduino-ide_nightly-20250529_Linux_64bit.zip unzip /usr/share/arduino-ide_nightly-20250529_Linux_64bit.zip -d /usr/share/arduino-ide_nightly-20250529_Linux_64bit rm /usr/share/arduino-ide_nightly-20250529_Linux_64bit.zip - wget https://github.com/mendelcollege-robotics/robotica/blob/main/setup/arduino2.desktop -O /usr/share/applications/arduino2.desktop + wget https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/arduino2.desktop -O /usr/share/applications/arduino2.desktop ;; esac @@ -258,7 +258,7 @@ case $git in cp ./secrets/ssh-robosoccer "/home/$user/.ssh/ssh-robosoccer" cp ./secrets/ssh-robosoccer.pub "/home/$user/.ssh/ssh-robosoccer.pub" sudo -u $user "git config --global user.signingkey 08242B7544C76B9E9B4EFB91C6C9DC589850AB7D" - wget https://github.com/mendelcollege-robotics/robotica/blob/main/setup/.gitmessage.txt -O /home/$user/.gitmessage.txt + wget https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/.gitmessage.txt -O /home/$user/.gitmessage.txt sudo -u $user "git config --global commit.template ~/.gitmessage.txt" ;; esac diff --git a/setup/setupscr.sh b/setup/setupscr.sh index fee0db6..70d175d 100644 --- a/setup/setupscr.sh +++ b/setup/setupscr.sh @@ -44,10 +44,10 @@ while true; do read -p "Please select (1)The automatic setup script, (2)The guided setup script or (3)Exit this script)? [1]/[2]/[3]: " chpw case $chpw in 1|a*|A*) - sh -c "$(curl -sSL https://github.com/mendelcollege-robotics/robotica/blob/main/setup/recoscr.sh)" + sh -c "$(curl -sSL https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/recoscript.sh)" ;; 2|g*|G*) - sh -c "$(curl -sSL https://github.com/mendelcollege-robotics/robotica/blob/main/setup/selectscr.sh)" + sh -c "$(curl -sSL https://raw.githubusercontent.com/mendelcollege-robotics/robotica/refs/heads/main/setup/selectscript.sh)" ;; 3|e*|E*) ;; |
