diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/functions/lcreq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions/lcreq b/scripts/functions/lcreq index 745f6a5..a5f4fe8 100755 --- a/scripts/functions/lcreq +++ b/scripts/functions/lcreq @@ -12,7 +12,7 @@ amiroot() { } case "$1" in 1) -[[ -n $(command -v eix | awk -F ':' '{ print $2 }' | sed '/^\s*$/d') ]] \ +[[ $(command -v eix) ]] \ || { echo -e "[\e[33m*\e[0m] \e[35mPlease install eix to proceed!\e[0m" \ && { amiroot $UID && echo -e "[\e[32m*\e[0m] Root privileges found" \ && emerge -aq eix && echo -e "[\e[33m*\e[0m] \e[35mUpdating database\e[0m" \ |