forked from Shinonome/dots-hyprland
installation: add tips to failure message
This commit is contained in:
@@ -38,7 +38,9 @@ function x() {
|
||||
if "$@";then cmdstatus=0;else cmdstatus=1;fi # 0=normal; 1=failed; 2=failed but ignored
|
||||
while [ $cmdstatus == 1 ] ;do
|
||||
echo -e "\e[31m[$0]: Command \"\e[32m$@\e[31m\" has failed."
|
||||
echo -e "You may need to resolve the problem manually BEFORE repeating this command.\e[0m"
|
||||
echo -e "You may need to resolve the problem manually BEFORE repeating this command."
|
||||
echo -e "[Tip] If a certain package is failing to install, try installing it separately in another terminal."
|
||||
echo -e "[Tip] If a package is conflicting with its -git version, in another terminal, install the -git one.\e[0m"
|
||||
echo " r = Repeat this command (DEFAULT)"
|
||||
echo " e = Exit now"
|
||||
echo " i = Ignore this error and continue (your setup might not work correctly)"
|
||||
|
||||
Reference in New Issue
Block a user