Fix syntax error

pull/1/head
rockstable 2022-12-11 21:40:00 +01:00
parent ad536249cf
commit fcdcda156d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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