From 869d8037aeba52d7b22054dd69d8cfe7be1eec79 Mon Sep 17 00:00:00 2001 From: Artem Boldariev Date: Thu, 1 Oct 2020 19:13:47 +0300 Subject: [PATCH] $ANDROID_DATA -> /data --- customize.sh | 2 +- post-fs-data.sh | 2 +- service.sh | 2 +- uninstall.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/customize.sh b/customize.sh index 8507976..e5407d9 100755 --- a/customize.sh +++ b/customize.sh @@ -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 diff --git a/post-fs-data.sh b/post-fs-data.sh index 2991da4..78e4700 100644 --- a/post-fs-data.sh +++ b/post-fs-data.sh @@ -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. diff --git a/service.sh b/service.sh index 726cf04..9ade5af 100755 --- a/service.sh +++ b/service.sh @@ -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" diff --git a/uninstall.sh b/uninstall.sh index a64ee8a..f374188 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -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