diff --git a/class/86-hw4f_disk2.sh b/class/86-hw4f_disk2.sh index 4f67eae..10e3b69 100755 --- a/class/86-hw4f_disk2.sh +++ b/class/86-hw4f_disk2.sh @@ -3,7 +3,7 @@ diskcount="$(wc -w <<< "$disklist")" if ifclass HW4F_DESKTOP \ - && [ $diskcount > 1 ]; then + && [ $diskcount -gt 1 ]; then echo "Second disk found. Adding class 'HW4F_DESKTOP_DISK2'" newclasses="HW4F_DESKTOP_DISK2" fi diff --git a/scripts/HW4F_DESKTOP_LAST/50-post-install b/scripts/HW4F_DESKTOP_LAST/50-post-install index e129cea..850f95f 100755 --- a/scripts/HW4F_DESKTOP_LAST/50-post-install +++ b/scripts/HW4F_DESKTOP_LAST/50-post-install @@ -10,6 +10,6 @@ EOF fi if ifclass HW4F_DESKTOP_DISK2 \ - && [ $diskcount > 1 ]; then + && [ "$diskcount" -gt 1 ]; then $ROOTCMD chown -Rc "$username:$username" /media/zusatz fi