mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-12-29 00:23:24 -05:00
Fix wording, normalize capitalization (#762)
Co-authored-by: longpanda <59477474+ventoy@users.noreply.github.com>
This commit is contained in:
parent
e6bdf075ca
commit
40fe21f909
@ -7,7 +7,7 @@ print_usage() {
|
|||||||
echo 'Usage: Ventoy2Disk.sh CMD [ OPTION ] /dev/sdX'
|
echo 'Usage: Ventoy2Disk.sh CMD [ OPTION ] /dev/sdX'
|
||||||
echo ' CMD:'
|
echo ' CMD:'
|
||||||
echo ' -i install Ventoy to sdX (fails if disk already installed with Ventoy)'
|
echo ' -i install Ventoy to sdX (fails if disk already installed with Ventoy)'
|
||||||
echo ' -I force install Ventoy to sdX (no matter installed or not)'
|
echo ' -I force install Ventoy to sdX (no matter if installed or not)'
|
||||||
echo ' -u update Ventoy in sdX'
|
echo ' -u update Ventoy in sdX'
|
||||||
echo ' -l list Ventoy information in sdX'
|
echo ' -l list Ventoy information in sdX'
|
||||||
echo ''
|
echo ''
|
||||||
@ -165,7 +165,7 @@ if [ -d ./tmp_mnt ]; then
|
|||||||
umount ./tmp_mnt >/dev/null 2>&1
|
umount ./tmp_mnt >/dev/null 2>&1
|
||||||
rm -rf ./tmp_mnt
|
rm -rf ./tmp_mnt
|
||||||
if [ -d ./tmp_mnt ]; then
|
if [ -d ./tmp_mnt ]; then
|
||||||
vterr "tmp_mnt directory exits, please delete it first."
|
vterr "tmp_mnt directory exists, please delete it first."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -345,6 +345,7 @@ if [ "$MODE" = "install" -a -z "$NONDESTRUCTIVE" ]; then
|
|||||||
sync
|
sync
|
||||||
|
|
||||||
vtinfo "esp partition processing ..."
|
vtinfo "esp partition processing ..."
|
||||||
|
|
||||||
if [ "$SECUREBOOT" != "YES" ]; then
|
if [ "$SECUREBOOT" != "YES" ]; then
|
||||||
sleep 2
|
sleep 2
|
||||||
check_umount_disk "$DISK"
|
check_umount_disk "$DISK"
|
||||||
@ -551,7 +552,7 @@ else
|
|||||||
vtinfo "Upgrade operation is safe, all the data in the 1st partition (iso files and other) will be unchanged!"
|
vtinfo "Upgrade operation is safe, all the data in the 1st partition (iso files and other) will be unchanged!"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
read -p "Update Ventoy $oldver ===> $curver Continue? (y/n)" Answer
|
read -p "Update Ventoy $oldver ===> $curver Continue? (y/n) " Answer
|
||||||
if [ "$Answer" != "y" ]; then
|
if [ "$Answer" != "y" ]; then
|
||||||
if [ "$Answer" != "Y" ]; then
|
if [ "$Answer" != "Y" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user