Add more redirects and update packages.csv
This commit is contained in:
parent
2bbddffda9
commit
7c195eefb9
|
@ -116,7 +116,7 @@ installPackage() {
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
exitIfCancel "You must have an active internet connection" "${3}"
|
exitIfCancel "Package installation failed." "${3}"
|
||||||
}
|
}
|
||||||
|
|
||||||
checkForParu() {
|
checkForParu() {
|
||||||
|
@ -129,7 +129,6 @@ checkForParu() {
|
||||||
}
|
}
|
||||||
|
|
||||||
getThePackages() {
|
getThePackages() {
|
||||||
checkForParu
|
|
||||||
if [ ! -f "packages.csv" ]; then
|
if [ ! -f "packages.csv" ]; then
|
||||||
curl -LO "https://raw.githubusercontent.com/santilococo/CocoASAIS/master/packages.csv" > /dev/null 2>&1
|
curl -LO "https://raw.githubusercontent.com/santilococo/CocoASAIS/master/packages.csv" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
@ -144,7 +143,7 @@ getThePackages() {
|
||||||
installImportantPackages() {
|
installImportantPackages() {
|
||||||
whiptail --msgbox "We will start by installing some important packages in the background. Please wait." 0 0
|
whiptail --msgbox "We will start by installing some important packages in the background. Please wait." 0 0
|
||||||
getThePackages "Y" "installImportantPackages"
|
getThePackages "Y" "installImportantPackages"
|
||||||
runInChroot "systemctl enable NetworkManager; systemctl enable fstrim.timer"
|
runInChroot "systemctl enable NetworkManager > /dev/null 2>&1; systemctl enable fstrim.timer > /dev/null 2>&1"
|
||||||
}
|
}
|
||||||
|
|
||||||
generateFstab() {
|
generateFstab() {
|
||||||
|
@ -239,6 +238,7 @@ EOF
|
||||||
|
|
||||||
installNotImportantPackages() {
|
installNotImportantPackages() {
|
||||||
whiptail --msgbox "Now, we will install some more packages (in the background). This may take long, please wait." 0 0
|
whiptail --msgbox "Now, we will install some more packages (in the background). This may take long, please wait." 0 0
|
||||||
|
checkForParu
|
||||||
getThePackages "N" "installNotImportantPackages"
|
getThePackages "N" "installNotImportantPackages"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -286,6 +286,7 @@ steps=(
|
||||||
)
|
)
|
||||||
|
|
||||||
runScript() {
|
runScript() {
|
||||||
|
clear
|
||||||
if [ -d "$HOME/Documents" ]; then
|
if [ -d "$HOME/Documents" ]; then
|
||||||
getDotfiles
|
getDotfiles
|
||||||
whiptail --title "CocoASAIS" --msgbox "All done!" 0 0
|
whiptail --title "CocoASAIS" --msgbox "All done!" 0 0
|
||||||
|
|
|
@ -15,7 +15,7 @@ cmake,N,N
|
||||||
cppcheck,N,N
|
cppcheck,N,N
|
||||||
cronie,N,N
|
cronie,N,N
|
||||||
detox,N,N
|
detox,N,N
|
||||||
dialog,Y,N
|
dialog,N,N
|
||||||
discord,N,N
|
discord,N,N
|
||||||
docker,N,N
|
docker,N,N
|
||||||
docker-compose,N,N
|
docker-compose,N,N
|
||||||
|
@ -63,8 +63,8 @@ networkmanager,Y,N
|
||||||
nitrogen,N,N
|
nitrogen,N,N
|
||||||
nmap,N,N
|
nmap,N,N
|
||||||
noisetorch,N,Y
|
noisetorch,N,Y
|
||||||
noto-fonts,Y,N
|
noto-fonts,N,N
|
||||||
noto-fonts-emoji,Y,N
|
noto-fonts-emoji,N,N
|
||||||
ntfs-3g,N,N
|
ntfs-3g,N,N
|
||||||
nvidia,Y,N
|
nvidia,Y,N
|
||||||
nvidia-settings,Y,N
|
nvidia-settings,Y,N
|
||||||
|
@ -112,7 +112,7 @@ tk,N,N
|
||||||
tmux,N,N
|
tmux,N,N
|
||||||
traceroute,N,N
|
traceroute,N,N
|
||||||
trash-cli,N,N
|
trash-cli,N,N
|
||||||
ttf-fira-code,Y,N
|
ttf-fira-code,N,N
|
||||||
ttf-joypixels,N,N
|
ttf-joypixels,N,N
|
||||||
ttf-meslo-nerd-font-powerlevel10k,N,Y
|
ttf-meslo-nerd-font-powerlevel10k,N,Y
|
||||||
unclutter,N,N
|
unclutter,N,N
|
||||||
|
|
|
Loading…
Reference in New Issue