mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-18 03:01:32 +01:00
Change downloadinstall.sh
This commit is contained in:
@@ -16,12 +16,14 @@ echo "Vamos a comprobar que tienes conexión a internet"
|
|||||||
ping 8.8.8.8 -c3
|
ping 8.8.8.8 -c3
|
||||||
if [[ $? != 0 ]];then
|
if [[ $? != 0 ]];then
|
||||||
clear
|
clear
|
||||||
echo "No tienes o no has conseguido conexión a internet"
|
dialog --title "Conexión" --msgbox "Error en la conexión \nse reiniciará la instalación \nPulse enter para continuar" 15 60
|
||||||
echo "Se va a reiniciar el instalador"
|
|
||||||
echo "Presione enter para continuar"
|
|
||||||
read
|
|
||||||
exec ./downloadinstall.sh
|
exec ./downloadinstall.sh
|
||||||
fi
|
fi
|
||||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/archinstall.sh -O archinstall.sh
|
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/archinstall.sh -O archinstall.sh
|
||||||
|
if [ $(cat archinstall | grep "^<\!DOCTYPE html>") == "<\!DOCTYPE html>" ];then
|
||||||
|
clear
|
||||||
|
dialog --title "Descarga incorrecta" --msgbox "La descarga del instalador ha fallado \nse reiniciará la instalación \nPulse enter para continuar" 15 60
|
||||||
|
exec ./downloadinstall.sh
|
||||||
|
fi
|
||||||
chmod +x archinstall.sh
|
chmod +x archinstall.sh
|
||||||
./archinstall.sh
|
./archinstall.sh
|
||||||
@@ -70,6 +70,7 @@ Include = /etc/pacman.d/mirrorlist
|
|||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
#Repo of JKArch
|
#Repo of JKArch
|
||||||
|
|
||||||
[jkanetwork]
|
[jkanetwork]
|
||||||
SigLevel = Optional TrustAll
|
SigLevel = Optional TrustAll
|
||||||
Server = http://repo.jkanetwork.com/repo/$repo/
|
Server = http://repo.jkanetwork.com/repo/$repo/
|
||||||
|
|||||||
Reference in New Issue
Block a user