parent
b2cb2b8b75
commit
7f667fed18
@ -122,11 +122,15 @@ if is_legacy_script; then
|
|||||||
else
|
else
|
||||||
print_modname
|
print_modname
|
||||||
|
|
||||||
ui_print "- Extracting module files"
|
unzip -o "$ZIPFILE" customize.sh -d $MODPATH >&2
|
||||||
unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2
|
|
||||||
|
|
||||||
# Default permissions
|
if ! grep -q '^SKIPUNZIP=' $MODPATH/customize.sh 2>/dev/null; then
|
||||||
set_perm_recursive $MODPATH 0 0 0755 0644
|
ui_print "- Extracting module files"
|
||||||
|
unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2
|
||||||
|
|
||||||
|
# Default permissions
|
||||||
|
set_perm_recursive $MODPATH 0 0 0755 0644
|
||||||
|
fi
|
||||||
|
|
||||||
# Load customization script
|
# Load customization script
|
||||||
[ -f $MODPATH/customize.sh ] && . $MODPATH/customize.sh
|
[ -f $MODPATH/customize.sh ] && . $MODPATH/customize.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user