File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed
Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,21 @@ do_postinst()
2222 exit 1
2323 fi
2424 notif " 3/4 COPY OPKS TO USB MOUNT^DO NOT TURN OFF THE CONSOLE"
25- if [ ! -d /mnt/apps ]; then
26- mkdir -p /mnt/apps
27- mkdir -p ${root_mount}
28- mount -t ext4 ${root_part} ${root_mount}
29- if [ $? -ne 0 ]; then
30- notif " CANNOT MOUNT ROOT^FILESYSTEM"
31- exit 1
32- fi
33- cp -f ${root_mount} /usr/games/opk/* .opk /mnt/apps/
34- umount ${root_mount}
35- if [ $? -ne 0 ]; then
36- notif " CANNOT UNMOUNT ROOT^FILESYSTEM"
37- exit 1
38- fi
25+ folder_opks_emulators=/mnt/Emulators
26+ if [ ! -d " $folder_opks_emulators " ]; then
27+ mkdir -p " $folder_opks_emulators "
28+ mkdir -p ${root_mount}
29+ mount -t ext4 ${root_part} ${root_mount}
30+ if [ $? -ne 0 ]; then
31+ notif " CANNOT MOUNT ROOT^FILESYSTEM"
32+ exit 1
33+ fi
34+ cp -f ${root_mount} /usr/games/opk/* .opk " $folder_opks_emulators "
35+ umount ${root_mount}
36+ if [ $? -ne 0 ]; then
37+ notif " CANNOT UNMOUNT ROOT^FILESYSTEM"
38+ exit 1
39+ fi
3940 fi
4041 for file in $( ls /mnt/FunKey-* .fwu) ; do
4142 notif " 4/4 ERASE UPDATE FILE^DO NOT TURN OFF THE CONSOLE"
You can’t perform that action at this time.
0 commit comments