eprefix-activate: remove unnecessary space; add new line to profile check

This commit is contained in:
XGQT 2020-03-08 13:34:04 +01:00
parent 988186b19d
commit c7f07c08b7
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A

View File

@ -143,11 +143,12 @@ FEATURES="${FEATURES} -usersandbox -sandbox"
export FEATURES
# Check if we are on a prefix profile
echo ""
if command_exists eselect
then
eprofile="$(eselect profile show)"
if [[ "${eprofile}" == *prefix* ]]
if [[ "${eprofile}" == *prefix* ]]
then
echo "${eprefix_good} ${eprofile}"
else