mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 01:31: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
|
||||
if [[ $? != 0 ]];then
|
||||
clear
|
||||
echo "No tienes o no has conseguido conexión a internet"
|
||||
echo "Se va a reiniciar el instalador"
|
||||
echo "Presione enter para continuar"
|
||||
read
|
||||
dialog --title "Conexión" --msgbox "Error en la conexión \nse reiniciará la instalación \nPulse enter para continuar" 15 60
|
||||
exec ./downloadinstall.sh
|
||||
fi
|
||||
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
|
||||
./archinstall.sh
|
||||
@@ -70,6 +70,7 @@ Include = /etc/pacman.d/mirrorlist
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
#Repo of JKArch
|
||||
|
||||
[jkanetwork]
|
||||
SigLevel = Optional TrustAll
|
||||
Server = http://repo.jkanetwork.com/repo/$repo/
|
||||
|
||||
Reference in New Issue
Block a user