diff options
author | Christos.K <freedomrfox@gmail.com> | 2017-06-05 23:59:17 +0300 |
---|---|---|
committer | Christos.K <freedomrfox@gmail.com> | 2017-06-05 23:59:17 +0300 |
commit | 97e197ec7dddcfeaab63a9dd0cf740a7ef2d2e80 (patch) | |
tree | e737afca0ff30977ccc148a235aac97ba91cf69e /scripts | |
parent | Included localrd & precomp options (diff) | |
download | GSE-97e197ec7dddcfeaab63a9dd0cf740a7ef2d2e80.tar.gz GSE-97e197ec7dddcfeaab63a9dd0cf740a7ef2d2e80.tar.bz2 GSE-97e197ec7dddcfeaab63a9dd0cf740a7ef2d2e80.zip |
eix
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" \ |