From e5bf28f1dd1d86f9bded6ab0b507cfac02a35d9c Mon Sep 17 00:00:00 2001 From: Stelios Tsampas Date: Sat, 10 Mar 2018 21:07:18 +0200 Subject: [PATCH] Fix use without gui --- numix-folders | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/numix-folders b/numix-folders index ba0a0bd97..c9df0f8fd 100755 --- a/numix-folders +++ b/numix-folders @@ -125,17 +125,18 @@ if [ "$runmode" -eq 2 ]; then else if [ -d /home/"$cuser"/.local/share/icons/Numix/ ]; then - dir=/home/"$cuser"/.local/share/icons + sdir=/home/"$cuser"/.local/share/icons + ddir=$sdir elif [ -d /home/"$cuser"/.icons/Numix ]; then - dir=/home/"$cuser"/.icons + sdir=/home/"$cuser"/.icons + ddir=$sdir elif [ -d /usr/share/icons/Numix/ ]; then if [[ $UID -ne 0 ]]; then - echo -e \ - "You appear to have Numix installed globally.\n" \ - "\rPlease run this script again as root." - gerror + sdir=/usr/share/icons + ddir=/home/"$cuser"/.icons else - dir=/usr/share/icons + sdir=/usr/share/icons + ddir=$sdir fi else echo -e \