Skip to content

Commit

Permalink
$ANDROID_DATA -> /data
Browse files Browse the repository at this point in the history
  • Loading branch information
arbv committed Oct 2, 2020
1 parent 0bf9081 commit 869d803
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion customize.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/system/bin/sh

# where we are going to put the support files
ENTWARE_INSTALLATION_PATH="$ANDROID_DATA/entware-magisk"
ENTWARE_INSTALLATION_PATH="/data/entware-magisk"
ENTWARE="${ENTWARE_INSTALLATION_PATH}/entware"

# default DNS resolvers
Expand Down
2 changes: 1 addition & 1 deletion post-fs-data.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/system/bin/sh

if [ -z "$MODPATH" ]; then
MODPATH="$ANDROID_DATA/adb/modules/entware-magisk"
MODPATH="/data/adb/modules/entware-magisk"
fi

# Create empty login shell and interactive shell initialisation script files if necessary.
Expand Down
2 changes: 1 addition & 1 deletion service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## The changes made by this script are NOT permanent and,
# thus, need to be repeated on each boot of the device.

ENTWARE_INSTALLATION_PATH="$ANDROID_DATA/entware-magisk"
ENTWARE_INSTALLATION_PATH="/data/entware-magisk"
ENTWARE_MKSHRC="$ENTWARE_INSTALLATION_PATH/mkshrc"
ENTWARE_PROFILE="$ENTWARE_INSTALLATION_PATH/profile"
ENTWARE="$ENTWARE_INSTALLATION_PATH/entware"
Expand Down
2 changes: 1 addition & 1 deletion uninstall.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/system/bin/sh

ENTWARE_INSTALLATION_PATH="$ANDROID_DATA/entware-magisk"
ENTWARE_INSTALLATION_PATH="/data/entware-magisk"
if ! [ -f "$ENTWARE_INSTALLATION_PATH/.keep" ]; then
rm -rf "$ENTWARE_INSTALLATION_PATH"
fi
Expand Down

0 comments on commit 869d803

Please sign in to comment.