Fix install script to copy folders

This commit is contained in:
topjohnwu 2018-07-05 17:29:44 +08:00
parent 682c6d4e7b
commit cada862214

View File

@ -59,7 +59,7 @@ direct_install() {
rm -rf /data/adb/magisk/* 2>/dev/null rm -rf /data/adb/magisk/* 2>/dev/null
mkdir -p /data/adb/magisk 2>/dev/null mkdir -p /data/adb/magisk 2>/dev/null
chmod 700 /data/adb chmod 700 /data/adb
cp -f $3/* /data/adb/magisk cp -rf $3/* /data/adb/magisk
rm -rf $3 rm -rf $3
} }