Added more error messages

This commit is contained in:
Kevin Veen-Birkenbach 2020-05-03 18:51:22 +02:00
parent 93c720e97c
commit ff8004944b

View File

@ -117,7 +117,7 @@ if [ "$DESKTOP_SESSION" == "gnome" ]; then
'gimp.desktop', 'gimp.desktop',
'blender.desktop', 'blender.desktop',
'rhythmbox.desktop', 'rhythmbox.desktop',
'org.gnome.Screenshot.desktop']" 'org.gnome.Screenshot.desktop']" || error "Setting up icons failed"
info "Install GNOME extensions..." info "Install GNOME extensions..."
info "Install \"NASA picture of the day\"..." info "Install \"NASA picture of the day\"..."
git clone https://github.com/Elinvention/gnome-shell-extension-nasa-apod.git "$HOME/.local/share/gnome-shell/extensions/nasa_apod@elinvention.ovh" git clone https://github.com/Elinvention/gnome-shell-extension-nasa-apod.git "$HOME/.local/share/gnome-shell/extensions/nasa_apod@elinvention.ovh"
@ -132,5 +132,5 @@ if [ "$DESKTOP_SESSION" == "gnome" ]; then
gnome-extensions disable dash-to-dock@micxgx.gmail.com gnome-extensions disable dash-to-dock@micxgx.gmail.com
fi fi
info "Removing all software from user startup..." info "Removing all software from user startup..."
rm ~/.config/autostart/* rm ~/.config/autostart/* || error "Removing startup software failed."
info "More software recomendations you will find here: https://wiki.archlinux.org/index.php/list_of_applications" info "More software recomendations you will find here: https://wiki.archlinux.org/index.php/list_of_applications"