From 788cd0a8ad2ab07bd5d560f69eec35d078096667 Mon Sep 17 00:00:00 2001 From: tb14 Date: Sun, 6 Nov 2022 22:54:26 -0600 Subject: [PATCH] pi support shell download link formatting --- AmRRON-Vara-setup.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/AmRRON-Vara-setup.sh b/AmRRON-Vara-setup.sh index c51e743..911d3b0 100755 --- a/AmRRON-Vara-setup.sh +++ b/AmRRON-Vara-setup.sh @@ -306,9 +306,9 @@ function installvara() { sudo apt install -y megatools curl p7zip-full || { ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; } cd $HOME/Downloads -megadl $VARAHFLINK || +megadl ${VARAHFLINK} || { ERRCODE="Failed to download VARA HF"; errors; return; } -megadl $VARAFMLINK || +megadl ${VARAFMLINK} || { ERRCODE="Failed to download VARA FM"; errors; return; } #megadl $VARACHATLINK || #{ ERRCODE="Failed to download VARA Chat"; errors; return; } @@ -385,7 +385,7 @@ fi } function pi_install() { -wget https://raw.githubusercontent.com/WheezyE/Winelink/main/install_winelink.sh +cd $HOME/Downloads && wget https://raw.githubusercontent.com/WheezyE/Winelink/main/install_winelink.sh sed -i 's/alsa/pulse/g' install_winelink.sh @@ -429,9 +429,13 @@ exit 1 set_screen_size confirm_mint21 primer_menu +if [[ $PLAT = Linuxmint ]]; then usergroups install_wine installvara installrmsexpress +else + pi_install +fi failure_handling complete \ No newline at end of file