Move tput reset
This commit is contained in:
parent
32e337b3ad
commit
a28f6ae40d
|
@ -637,7 +637,6 @@ runScript() {
|
||||||
sed -i -e '/^\[extra\]/,/^Include/ s/^/#/' -e '/^\[community\]/,/^Include/ s/^/#/' /etc/pacman.conf
|
sed -i -e '/^\[extra\]/,/^Include/ s/^/#/' -e '/^\[community\]/,/^Include/ s/^/#/' /etc/pacman.conf
|
||||||
pacman -Sy --needed --noconfirm dialog 2>&1 | debug
|
pacman -Sy --needed --noconfirm dialog 2>&1 | debug
|
||||||
sed -i -e '/\[extra\]/,/Include/ s/^#//' -e '/\[community\]/,/Include/ s/^#//' /etc/pacman.conf
|
sed -i -e '/\[extra\]/,/Include/ s/^#//' -e '/\[community\]/,/Include/ s/^#//' /etc/pacman.conf
|
||||||
tput reset
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "/etc/dialogrc" ]; then
|
if [ ! -f "/etc/dialogrc" ]; then
|
||||||
|
@ -645,6 +644,7 @@ runScript() {
|
||||||
mv .dialogrc /etc/dialogrc
|
mv .dialogrc /etc/dialogrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
tput reset
|
||||||
trap 'printAndExit "Received SIGINT signal."' INT
|
trap 'printAndExit "Received SIGINT signal."' INT
|
||||||
calcAndRun dialog --title "calsais" --msgbox "\"\n${welcomeMsg}\"" 7 WIDTH
|
calcAndRun dialog --title "calsais" --msgbox "\"\n${welcomeMsg}\"" 7 WIDTH
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue