Update iso.sh

This commit is contained in:
Aditya Garg 2024-04-07 19:01:11 +05:30 committed by GitHub
parent a55ef30916
commit 9dce363ae4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -82,7 +82,9 @@ case "$verinput" in
;;
esac
flavourcap=`echo ${flavour:0:1} | tr '[a-z]' '[A-Z]'`${flavour:1}
firstChar=$(echo "$flavour" | cut -c1 | tr '[a-z]' '[A-Z]')
restOfString=$(echo "$flavour" | cut -c2-)
flavourcap="${firstChar}${restOfString}"
echo -e "\nDownloading ${flavourcap} ${ver}"
echo -e "\nPart 1"