From 94fe22ef5eeb961c4a9019c4865d92ca5f12b777 Mon Sep 17 00:00:00 2001 From: Michael Schlenstedt Date: Tue, 14 Mar 2023 04:20:09 +0000 Subject: [PATCH] Option -h needed for symlink --- sbin/loxberryupdate/update_v3.0.0.2.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/loxberryupdate/update_v3.0.0.2.pl b/sbin/loxberryupdate/update_v3.0.0.2.pl index 80c2a114..07e720c8 100755 --- a/sbin/loxberryupdate/update_v3.0.0.2.pl +++ b/sbin/loxberryupdate/update_v3.0.0.2.pl @@ -19,7 +19,7 @@ LOGINF "Repairing broken Symlink for USB mount"; unlink ("$lbhomedir/system/storage/usb"); execute( command => "ln -vsfn /media/usb $lbhomedir/system/storage/usb", log => $log ); -execute( command => "chown loxberry:loxberry $lbhomedir/system/storage/usb", log => $log ); +execute( command => "chown -h loxberry:loxberry $lbhomedir/system/storage/usb", log => $log ); LOGINF "Removing dhcpd5"; apt_remove("dhcpcd5");