Skip to content

Commit

Permalink
add user friendly error text if no saved profiles, possibly on a newl…
Browse files Browse the repository at this point in the history
…y installed system.
  • Loading branch information
showching committed Feb 26, 2018
1 parent 4b6fa9e commit 84e96d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apply-colors.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 84e96d9

Please sign in to comment.