Update runScript()
This commit is contained in:
parent
97ec9bccd1
commit
ba047a3c69
10
install.sh
10
install.sh
|
@ -611,11 +611,6 @@ runScript() {
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "/etc/dialogrc" ]; then
|
|
||||||
curl -LO "https://raw.githubusercontent.com/santilococo/cdotfis/master/dotfiles/.dialogrc" 2>&1 | debug
|
|
||||||
mv .dialogrc /etc/dialogrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
local i=0; found=false
|
local i=0; found=false
|
||||||
loadVar "lastStep"
|
loadVar "lastStep"
|
||||||
if [ -n "$lastStep" ]; then
|
if [ -n "$lastStep" ]; then
|
||||||
|
@ -643,6 +638,11 @@ runScript() {
|
||||||
tput reset
|
tput reset
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "/etc/dialogrc" ]; then
|
||||||
|
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
|
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