diff options
author | soumenganguly | 2015-04-24 11:16:28 +0530 |
---|---|---|
committer | soumenganguly | 2015-04-24 11:16:28 +0530 |
commit | 79d5e7a82c9c13c49097950ada373eebc3f77c1f (patch) | |
tree | ae72afc0fa6d5a8d9c6764ff5cd2b90230020eef | |
parent | 2a2a866d9abc8d5312c6590438ebcda431dec3e4 (diff) | |
download | FOSSEE-netbook-patcher-79d5e7a82c9c13c49097950ada373eebc3f77c1f.tar.gz FOSSEE-netbook-patcher-79d5e7a82c9c13c49097950ada373eebc3f77c1f.tar.bz2 FOSSEE-netbook-patcher-79d5e7a82c9c13c49097950ada373eebc3f77c1f.zip |
Fixed recovery.sh
-rw-r--r-- | reinstall-recovery/recovery.sh | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/reinstall-recovery/recovery.sh b/reinstall-recovery/recovery.sh index 03aa2dd..ed7983a 100644 --- a/reinstall-recovery/recovery.sh +++ b/reinstall-recovery/recovery.sh @@ -112,7 +112,7 @@ installation() part_no_two=$(ls /dev/mmcblk0*) part_no_two=$(echo $part_no_two | cut -d' ' -f3) #Check for the second partition on the SD card. - if [ "$part_no_two" == '' ]; then + if [ "$part_no_two" == "" ]; then sh /mnt/bar /sd_card/fossee-os.tar.gz | tar xzpf - -C /nand_previous sync else @@ -123,7 +123,6 @@ installation() umount $ubuntu_dir # /bin/sh -<<<<<<< HEAD echo "" echo -e "\t\tInstallation complete." sleep 2 @@ -136,21 +135,6 @@ installation() else echo "It shouldn't come here" fi -======= - echo "" - echo -e "\t\tInstallation complete." - sleep 2 - echo "" - umount /dev/mmcblk0p1 - printf "\t\tPress ENTER to restart.[ Please remove the SD card first ]" - read read_restart - if $read_restart; then - reboot - else - echo "It shouldn't come here" - fi - ->>>>>>> backup-gui } #This functions presents the user with advanecd options where he/she can backup their data from previous installation or repair the current installation through shell prompt. |