]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/checksum.cfg
Update Bengali Translation (#1956)
[Ventoy.git] / INSTALL / grub / checksum.cfg
index cea88fce58566ee38a077b70bea58809342ea579..21dd0de0290ac17974c92af6aaaff862a8320617 100644 (file)
@@ -5,8 +5,8 @@ if [ -e "${vtoy_iso_part}${VTOY_CHKSUM_FILE_PATH}.md5" ]; then
         md5sum "${vtoy_iso_part}${VTOY_CHKSUM_FILE_PATH}"
         
         vt_1st_line "${vtoy_iso_part}${VTOY_CHKSUM_FILE_PATH}.md5" vtReadChecksum
-        
-        if vt_str_begin "$vtReadChecksum" "$VT_LAST_CHECK_SUM"; then
+                
+        if vt_str_casebegin "$vtReadChecksum" "$VT_LAST_CHECK_SUM"; then
             echo -e "\n\nCheck MD5 value with .md5 file.  [ OK ]"
         else
             echo -e "\n\nCheck MD5 value with .md5 file.  [ FAIL ]"
@@ -33,7 +33,7 @@ if [ -e "${vtoy_iso_part}${VTOY_CHKSUM_FILE_PATH}.sha1" ]; then
         
         vt_1st_line "${vtoy_iso_part}${VTOY_CHKSUM_FILE_PATH}.sha1" vtReadChecksum
         
-        if vt_str_begin "$vtReadChecksum" "$VT_LAST_CHECK_SUM"; then
+        if vt_str_casebegin "$vtReadChecksum" "$VT_LAST_CHECK_SUM"; then
             echo -e "\n\nCheck SHA1 value with .sha1 file.  [ OK ]"
         else
             echo -e "\n\nCheck SHA1 value with .sha1 file.  [ FAIL ]"
@@ -62,7 +62,7 @@ if [ -e "${vtoy_iso_part}${VTOY_CHKSUM_FILE_PATH}.sha256" ]; then
         
         vt_1st_line "${vtoy_iso_part}${VTOY_CHKSUM_FILE_PATH}.sha256" vtReadChecksum
         
-        if vt_str_begin "$vtReadChecksum" "$VT_LAST_CHECK_SUM"; then
+        if vt_str_casebegin "$vtReadChecksum" "$VT_LAST_CHECK_SUM"; then
             echo -e "\n\nCheck SHA256 value with .sha256 file.  [ OK ]"
         else
             echo -e "\n\nCheck SHA256 value with .sha256 file.  [ FAIL ]"
@@ -91,7 +91,7 @@ if [ -e "${vtoy_iso_part}${VTOY_CHKSUM_FILE_PATH}.sha512" ]; then
         
         vt_1st_line "${vtoy_iso_part}${VTOY_CHKSUM_FILE_PATH}.sha512" vtReadChecksum
         
-        if vt_str_begin "$vtReadChecksum" "$VT_LAST_CHECK_SUM"; then
+        if vt_str_casebegin "$vtReadChecksum" "$VT_LAST_CHECK_SUM"; then
             echo -e "\n\nCheck SHA512 value with .sha512 file.  [ OK ]"
         else
             echo -e "\n\nCheck SHA512 value with .sha512 file.  [ FAIL ]"