scripts: fix modules_update dir context

This commit is contained in:
南宫雪珊 2025-07-10 14:09:38 +08:00 committed by John Wu
parent 55c3ee3a6f
commit 23ea28de6f

View File

@ -663,6 +663,7 @@ install_module() {
# Create mod paths # Create mod paths
rm -rf $MODPATH rm -rf $MODPATH
mkdir -p $MODPATH mkdir -p $MODPATH
chcon u:object_r:system_file:s0 $MODPATH
if is_legacy_script; then if is_legacy_script; then
unzip -oj "$ZIPFILE" module.prop install.sh uninstall.sh 'common/*' -d $TMPDIR >&2 unzip -oj "$ZIPFILE" module.prop install.sh uninstall.sh 'common/*' -d $TMPDIR >&2