diff options
author | rafa_99 <rafa99@protonmail.com> | 2020-10-24 02:03:18 +0100 |
---|---|---|
committer | rafa_99 <rafa99@protonmail.com> | 2020-10-24 02:03:18 +0100 |
commit | 0cdb1fbe15d2ab9774fe750f8e26d0d015108f11 (patch) | |
tree | 91181d715b637f22d5502274572f9a19b720bd5a /tools | |
parent | c137cbf93d057c6a985d85b35ee6c1e51eb05869 (diff) |
Updated Scripts
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ak3-core.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/ak3-core.sh b/tools/ak3-core.sh index 79f3a32..0d58013 100755 --- a/tools/ak3-core.sh +++ b/tools/ak3-core.sh @@ -155,7 +155,7 @@ unpack_ramdisk() { if [ -f ramdisk.cpio ]; then comp=$($bin/magiskboot decompress ramdisk.cpio 2>&1 | grep -v 'raw' | sed -n 's;.*\[\(.*\)\];\1;p'); else - abort "No ramdisk found to unpack. Aborting..."; + echo "No ramdisk found to unpack. But not aborting :)..."; fi; if [ "$comp" ]; then mv -f ramdisk.cpio ramdisk.cpio.$comp; @@ -173,7 +173,7 @@ unpack_ramdisk() { cd $ramdisk; EXTRACT_UNSAFE_SYMLINKS=1 cpio -d -F $split_img/ramdisk.cpio -i; if [ $? != 0 -o ! "$(ls)" ]; then - abort "Unpacking ramdisk failed. Aborting..."; + echo "Unpacking ramdisk failed. But not aborting :)..."; fi; if [ -d "$home/rdtmp" ]; then cp -af $home/rdtmp/* .; @@ -224,7 +224,7 @@ repack_ramdisk() { fi; fi; if [ "$packfail" ]; then - abort "Repacking ramdisk failed. Aborting..."; + echo "Repacking ramdisk failed. But not aborting :)..."; fi; if [ -f "$bin/mkmtkhdr" -a -f "$split_img/boot.img-base" ]; then |