Unverified Commit 40fe21f9 authored by adrian5's avatar adrian5 Committed by GitHub
Browse files

Fix wording, normalize capitalization (#762)


Co-authored-by: default avatarlongpanda <59477474+ventoy@users.noreply.github.com>
parent e6bdf075
...@@ -7,7 +7,7 @@ print_usage() { ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment