1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

add user friendly error text if no saved profiles, possibly on a newly installed system.

This commit is contained in:
showching 2018-02-26 18:36:50 +08:00
parent 4b6fa9e3c9
commit 84e96d9771

7
apply-colors.sh Normal file → Executable file
View File

@ -245,6 +245,13 @@ else
unset DCONF
unset UUIDGEN
exit 0
else
# provide a user friendly error text if no saved profile exists, otherwise it will display "Error gconftool not found!"
# it could happen on a newly installed system. (happened on CentOS 7)
echo "Error, no saved profiles found!"
echo "Possible fix, new a profile (Terminal > Edit > Preferences > Profiles > New, then Close) and try again."
echo "You can safely delete the created profile after the installation."
exit 1
fi
fi