From 2bf374a31ec631e5b8d15178f02a6603be682f89 Mon Sep 17 00:00:00 2001 From: Tobias Stein Date: Sun, 11 Dec 2022 22:32:42 +0100 Subject: [PATCH] Simplify condition --- scripts/HW4F_DESKTOP_LAST/50-post-install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/HW4F_DESKTOP_LAST/50-post-install b/scripts/HW4F_DESKTOP_LAST/50-post-install index 5075ce3..0c82418 100755 --- a/scripts/HW4F_DESKTOP_LAST/50-post-install +++ b/scripts/HW4F_DESKTOP_LAST/50-post-install @@ -9,7 +9,6 @@ EOF fi -if ifclass HW4F_DESKTOP_DISK2 && \ - [ -d "/media/zusatz" ]; then +if ifclass HW4F_DESKTOP_DISK2; then $ROOTCMD chown -Rc "$username:$username" /media/zusatz fi