Log errors to stderr
This commit is contained in:
parent
b4167af0e7
commit
2f335c3c2e
2
larbs.sh
2
larbs.sh
@ -23,7 +23,7 @@ esac done
|
|||||||
|
|
||||||
installpkg(){ pacman --noconfirm --needed -S "$1" >/dev/null 2>&1 ;}
|
installpkg(){ pacman --noconfirm --needed -S "$1" >/dev/null 2>&1 ;}
|
||||||
|
|
||||||
error() { echo "ERROR: $1" ; exit 1;}
|
error() { printf "%s\n" "$1" >&2; exit 1; }
|
||||||
|
|
||||||
welcomemsg() { \
|
welcomemsg() { \
|
||||||
dialog --title "Welcome!" --msgbox "Welcome to Luke's Auto-Rice Bootstrapping Script!\\n\\nThis script will automatically install a fully-featured Linux desktop, which I use as my main machine.\\n\\n-Luke" 10 60
|
dialog --title "Welcome!" --msgbox "Welcome to Luke's Auto-Rice Bootstrapping Script!\\n\\nThis script will automatically install a fully-featured Linux desktop, which I use as my main machine.\\n\\n-Luke" 10 60
|
||||||
|
Loading…
Reference in New Issue
Block a user