From eea5e92328e66bf2243dc877425b09edd1880517 Mon Sep 17 00:00:00 2001 From: George Daniel <51092143+lindroidux@users.noreply.github.com> Date: Tue, 11 Jun 2019 17:46:27 +0000 Subject: [PATCH] Update install.sh --- install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 3381377..88aa7a7 100755 --- a/install.sh +++ b/install.sh @@ -151,13 +151,13 @@ on_install() { CONFIG_PATH=$TMPDIR/config - unzip -o "$ZIPFILE" 'config/*' 'binary/*' -d $TMPDIR 2>/dev/null + unzip -o "$ZIPFILE" 'config/*' 'binary/*' -d $TMPDIR ui_print "* Creating binary path" - mkdir -p $MODPATH/system/bin 2>/dev/null + mkdir -p $MODPATH/system/bin ui_print "* Creating config path" - mkdir -p $MODPATH/system/etc/dnscrypt-proxy 2>/dev/null + mkdir -p /data/media/0/dnscrypt-proxy if [ -f "$BINARY_PATH" ]; then ui_print "* Copying binary for $ARCH" @@ -168,7 +168,7 @@ on_install() { if [ -d "$CONFIG_PATH" ]; then ui_print "* Copying example and license files" - cp -af $CONFIG_PATH/* $MODPATH/system/etc/dnscrypt-proxy + cp -af $CONFIG_PATH/* /data/media/0/dnscrypt-proxy/ else abort "Config file is missing!" fi @@ -193,4 +193,4 @@ set_permissions() { # set_perm $MODPATH/system/lib/libart.so 0 0 0644 } -# You can add more functions to assist your custom script code \ No newline at end of file +# You can add more functions to assist your custom script code