diff --git a/update.sh b/update.sh index b247006..b011453 100644 --- a/update.sh +++ b/update.sh @@ -58,7 +58,7 @@ sudo nano /opt/rules.txt ;; 3) sudo nano /opt/extra-1.sh && chmod +x /opt/extra* ;; 4) -wget https://raw.githubusercontent.com/hp3icc/Easy-FreeDMR-SERVER-Install/main/fdmr-update.sh -O /opt/fdmr-update.sh && chmod +x /opt/fdmr-update.sh && ./opt/fdmr-update.sh ;; +sh -c "$(curl -fsSL https://raw.githubusercontent.com/hp3icc/Easy-FreeDMR-SERVER-Install/main/fdmr-update.sh)" ;; 5) break; esac @@ -88,7 +88,7 @@ case $choix in 1) sudo nano /opt/extra-2.sh && chmod +x /opt/extra* ;; 2) -wget https://raw.githubusercontent.com/hp3icc/Easy-FreeDMR-SERVER-Install/main/selfservice-update.sh -O /opt/selfservice-update.sh && chmod +x /opt/selfservice-update.sh && ./opt/selfservice-update.sh ;; +sh -c "$(curl -fsSL https://raw.githubusercontent.com/hp3icc/Easy-FreeDMR-SERVER-Install/main/selfservice-update.sh)" ;; 3) break; esac