OSDN Git Service

1-install: only format ESP if mount failed
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 9 Aug 2017 10:21:51 +0000 (18:21 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 9 Aug 2017 10:21:51 +0000 (18:21 +0800)
commit0acc9de75297ebe543a3577a99a981068b224076
tree60ab5a950552e13285637ef6a95b9b31188ad5de
parent7e535e3d0e7c0eeeeac33f9ba29925c4373056c6
1-install: only format ESP if mount failed

People may accidentally format the ESP containing Windows bootloader.
This makes Windows not bootable and unrecoverable.

To avoid such an error, only ask to format ESP if mount it failed.
install/scripts/1-install