File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed
Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,18 @@ do_postinst()
2828 fi
2929 notif " 4/5 COPY OPKS TO USB MOUNT^DO NOT TURN OFF THE CONSOLE"
3030 folder_opks_emulators=/mnt/Emulators
31- if [ ! -d " $folder_opks_emulators " ]; then
32- mkdir -p " $folder_opks_emulators "
33- mkdir -p ${root_mount}
34- mount -t ext4 ${root_part} ${root_mount}
35- if [ $? -ne 0 ]; then
36- notif " CANNOT MOUNT ROOT^FILESYSTEM"
37- exit 1
38- fi
39- cp -f ${root_mount} /usr/games/opk/* .opk " $folder_opks_emulators "
40- umount ${root_mount}
41- if [ $? -ne 0 ]; then
42- notif " CANNOT UNMOUNT ROOT^FILESYSTEM"
43- exit 1
44- fi
31+ mkdir -p " $folder_opks_emulators "
32+ mkdir -p ${root_mount}
33+ mount -t ext4 ${root_part} ${root_mount}
34+ if [ $? -ne 0 ]; then
35+ notif " CANNOT MOUNT ROOT^FILESYSTEM"
36+ exit 1
37+ fi
38+ cp -f ${root_mount} /usr/games/opk/* .opk " $folder_opks_emulators "
39+ umount ${root_mount}
40+ if [ $? -ne 0 ]; then
41+ notif " CANNOT UNMOUNT ROOT^FILESYSTEM"
42+ exit 1
4543 fi
4644 for file in $( ls /mnt/FunKey-* .fwu) ; do
4745 notif " 5/5 ERASE UPDATE FILE^DO NOT TURN OFF THE CONSOLE"
You can’t perform that action at this time.
0 commit comments