improved the error messages
This commit is contained in:
parent
8ce554af47
commit
756ed64555
|
@ -7,7 +7,7 @@ enable-top-bar-integration() {
|
||||||
# Enable global menus
|
# Enable global menus
|
||||||
pacman -Qq vala-panel-appmenu-registrar ||
|
pacman -Qq vala-panel-appmenu-registrar ||
|
||||||
zensu SKIP_AUTOSNAP= pacman -S --noconfirm vala-panel-appmenu-registrar ||
|
zensu SKIP_AUTOSNAP= pacman -S --noconfirm vala-panel-appmenu-registrar ||
|
||||||
{ notify-send 'Error' 'failed installing vala-panel-appmenu-registrar !\nmake sure you type the correct password\nEnabling the internet connection might solve the issue'; exit; }
|
{ notify-send 'Error' 'Failed installing vala-panel-appmenu-registrar !\nmake sure that you typed the password correctly or that you are not currently installing or updating your system\nEnabling the internet connection might solve the issue'; exit; }
|
||||||
pacman -Qq vala-panel-appmenu-registrar || exit
|
pacman -Qq vala-panel-appmenu-registrar || exit
|
||||||
|
|
||||||
# Hide window borders when maximized
|
# Hide window borders when maximized
|
||||||
|
@ -22,7 +22,7 @@ disable-top-bar-integration() {
|
||||||
# Disable global menus
|
# Disable global menus
|
||||||
! pacman -Qq vala-panel-appmenu-registrar ||
|
! pacman -Qq vala-panel-appmenu-registrar ||
|
||||||
zensu SKIP_AUTOSNAP= pacman -R --noconfirm vala-panel-appmenu-registrar ||
|
zensu SKIP_AUTOSNAP= pacman -R --noconfirm vala-panel-appmenu-registrar ||
|
||||||
{ notify-send 'Error' 'failed removing vala-panel-appmenu-registrar !\nmake sure you type the correct password'; exit; }
|
{ notify-send 'Error' 'Failed installing vala-panel-appmenu-registrar !\nmake sure that you typed the password correctly or that you are not currently installing or updating your system'; exit; }
|
||||||
pacman -Qq vala-panel-appmenu-registrar && exit
|
pacman -Qq vala-panel-appmenu-registrar && exit
|
||||||
killall appmenu-registrar
|
killall appmenu-registrar
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user