Skip to content

Commit 6170e76

Browse files
committed
scripts/customize: minor improvement
1 parent d8aac8f commit 6170e76

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

module/customize.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ set_perm "$MODPATH/nuke.sh" 0 2000 0755
101101
# clean up bin directory
102102
rm -rf "$MODPATH/bin"
103103

104-
echo ""
105-
106104
# remove action.sh on webui-supported env
107105
if [ -n "$KSU" ] || [ -n "$APATCH" ]; then
108106
rm -f "$MODPATH/action.sh"
@@ -151,13 +149,15 @@ if [ -f "/data/adb/modules/mountify/config.sh" ] && \
151149
if [ "$mountify_mounts" = "2" ] || \
152150
{ [ "$mountify_mounts" = "1" ] && grep -q "system_app_nuker" /data/adb/modules/mountify/modules.txt; }; then
153151
mountify_mounted=true
154-
echo "[!] This module will be mounted by mountify module."
152+
echo "[!] This module will be mounted by the mountify module."
155153
rm -f "$MODPATH/skip_mountify"
154+
else
155+
echo "[!] This module will NOT be mounted by the mountify module."
156156
fi
157157
fi
158158

159159
# fallback path
160-
# if mountify won't mount us but standalone script is supported
160+
# if mountify will not mount us but standalone script is supported
161161
if { [ "$mountify_active" = false ] || [ "$mountify_mounted" = false ]; } && \
162162
{ { [ "$overlay_supported" = true ] && [ "$tmpfs_xattr_supported" = true ]; } || [ "$magic_mount" = false ]; }; then
163163
echo "[+] Requirements met. Enabling standalone mountify script."
@@ -204,8 +204,7 @@ echo ""
204204
#
205205
if [ ! -f "$APP_LIST" ]; then
206206
echo "[+] Generating app list..."
207-
. "$MODPATH/service.sh"
208-
echo ""
207+
. "$MODPATH/service.sh"
209208
fi
210209

211210
echo "[✓] System App Nuker has been set up successfully."

0 commit comments

Comments
 (0)