From 54f5c4befa14c3bb67c46d8192f80f8075d0430a Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sun, 30 Jan 2022 15:15:21 -0300 Subject: [PATCH] Sync only core package database --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 45818ca..15a9250 100755 --- a/install.sh +++ b/install.sh @@ -634,7 +634,9 @@ runScript() { systemctl --no-block start reflector.service welcomeMsg="Welcome to calsais!" printLogo + sed -i -e '/^\[extra\]/,/^Include/ s/^/#/' -e '/^\[community\]/,/^Include/ s/^/#/' /etc/pacman.d/pacman.conf pacman -Sy --needed --noconfirm dialog 2>&1 | debug + sed -i -e '/\[extra\]/,/Include/ s/^#//' -e '/\[community\]/,/Include/ s/^#//' /etc/pacman.d/pacman.conf tput reset fi @@ -642,7 +644,7 @@ runScript() { curl -LO "https://raw.githubusercontent.com/santilococo/cdotfis/master/dotfiles/.dialogrc" 2>&1 | debug mv .dialogrc /etc/dialogrc fi - + trap 'printAndExit "Received SIGINT signal."' INT calcAndRun dialog --title "calsais" --msgbox "\"\n${welcomeMsg}\"" 7 WIDTH