pacman now downloads/updates database files before running the script
This commit is contained in:
parent
8027e3bba5
commit
cf8a0927d6
2
larbs.sh
2
larbs.sh
@ -30,7 +30,7 @@ esac done
|
|||||||
### FUNCTIONS ###
|
### FUNCTIONS ###
|
||||||
###
|
###
|
||||||
|
|
||||||
initialcheck() { pacman -S --noconfirm --needed dialog || { echo "Are you sure you're running this as the root user? Are you sure you're using an Arch-based distro? ;-) Are you sure you have an internet connection?"; exit; } ;}
|
initialcheck() { pacman -Sy --noconfirm --needed dialog || { echo "Are you sure you're running this as the root user? Are you sure you're using an Arch-based distro? ;-) Are you sure you have an internet connection?"; exit; } ;}
|
||||||
|
|
||||||
preinstallmsg() { \
|
preinstallmsg() { \
|
||||||
dialog --title "Let's get this party started!" --yes-label "Let's go!" --no-label "No, nevermind!" --yesno "The rest of the installation will now be totally automated, so you can sit back and relax.\\n\\nIt will take some time, but when done, you can relax even more with your complete system.\\n\\nNow just press <Let's go!> and the system will begin installation!" 13 60 || { clear; exit; }
|
dialog --title "Let's get this party started!" --yes-label "Let's go!" --no-label "No, nevermind!" --yesno "The rest of the installation will now be totally automated, so you can sit back and relax.\\n\\nIt will take some time, but when done, you can relax even more with your complete system.\\n\\nNow just press <Let's go!> and the system will begin installation!" 13 60 || { clear; exit; }
|
||||||
|
Loading…
Reference in New Issue
Block a user