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:
parent
4b6fa9e3c9
commit
84e96d9771
7
apply-colors.sh
Normal file → Executable file
7
apply-colors.sh
Normal file → Executable 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user