Skip to content

Commit 2f9ddad

Browse files
committed
Update installer.sh
fix bug
1 parent 3047a74 commit 2f9ddad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

userspace/ksud/src/installer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ handle_partition() {
313313
ui_print "- Handle partition /$1"
314314
# we create a symlink if module want to access $MODPATH/system/$1
315315
# but it doesn't always work(ie. write it in post-fs-data.sh would fail because it is readonly)
316-
mv -f $MODPATH/system/$1 $MODPATH/ && ln -sf ../$1 $MODPATH/system/$1
316+
cp -rf $MODPATH/system/$1 $MODPATH/ && rm -rf $MODPATH/system/$1 && ln -sf ../$1 $MODPATH/system/$1
317317
fi
318318
}
319319

0 commit comments

Comments
 (0)