mirror of
https://github.com/topjohnwu/Magisk
synced 2025-08-31 22:51:45 +00:00
scripts: flash_script.sh: Avoid overly dangerous code
This commit is contained in:
@@ -67,7 +67,7 @@ $BOOTMODE || remove_system_su
|
||||
ui_print "- Constructing environment"
|
||||
|
||||
# Copy required files
|
||||
rm -rf $MAGISKBIN/* 2>/dev/null
|
||||
rm -rf $MAGISKBIN 2>/dev/null
|
||||
mkdir -p $MAGISKBIN 2>/dev/null
|
||||
cp -af $BINDIR/. $COMMONDIR/. $BBBIN $MAGISKBIN
|
||||
|
||||
|
Reference in New Issue
Block a user