makedeb


ventoy-bin 1.0.99-0


An utility to directly boot image files without reformating the USB

Click here to go back to the commit logs for ventoy-bin.

Commit:


Hash: 32ab922a24cedbb3ce6c1fa9e78f4affde9cd980

Message: make ventoygui POSIX compliant & appease shellcheck

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 030a13a..36ea634 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = ventoy-bin
 	pkgdesc = A new multiboot USB solution
 	pkgver = 1.0.79
-	pkgrel = 3
+	pkgrel = 4
 	url = http://www.ventoy.net
 	install = ventoy.install
 	arch = aarch64
@@ -28,7 +28,7 @@ pkgbase = ventoy-bin
 	source = sanitize.patch
 	sha256sums = 6b39280eab8dfe2d35407b1dd70246efd91d847841bd7ccf5c84678ca1c01cd1
 	sha256sums = 1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000
-	sha256sums = d32110d0d8a41a80fa98702f1db2a75e97eef55f98b2627d4dc09e5dd999011b
+	sha256sums = ffa595060ee477874c08e2f4caa99cd8ea439c03f426cca74e5a22c620409b09
 	sha256sums = c3d4463a878a89d96e5f0bc4e1a43e48f27af5965bd4c977567695d7cf91fe5f
 	sha256sums = 1bbe66b52398be96402604562bddb5c9fbebfe345f0de184709e1c74086f2be6
 	sha256sums = 51029745da197dded6e007aee3f30f7ea1aa6e898172a6ea176cc2f3a842d0ff
diff --git a/PKGBUILD b/PKGBUILD
index 52ddaa2..532b889 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=ventoy-bin
 pkgver=1.0.79
-pkgrel=3
+pkgrel=4
 pkgdesc="A new multiboot USB solution"
 arch=('aarch64' 'i686' 'x86_64')
 url="http://www.ventoy.net"
@@ -27,7 +27,7 @@ source=("https://github.com/ventoy/Ventoy/releases/download/v${pkgver}/${pkgname
         'sanitize.patch')
 sha256sums=('6b39280eab8dfe2d35407b1dd70246efd91d847841bd7ccf5c84678ca1c01cd1'
             '1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000'
-            'd32110d0d8a41a80fa98702f1db2a75e97eef55f98b2627d4dc09e5dd999011b'
+            'ffa595060ee477874c08e2f4caa99cd8ea439c03f426cca74e5a22c620409b09'
             'c3d4463a878a89d96e5f0bc4e1a43e48f27af5965bd4c977567695d7cf91fe5f'
             '1bbe66b52398be96402604562bddb5c9fbebfe345f0de184709e1c74086f2be6'
             '51029745da197dded6e007aee3f30f7ea1aa6e898172a6ea176cc2f3a842d0ff'
diff --git a/ventoygui b/ventoygui
index 82dbf5a..9dcb89a 100755
--- a/ventoygui
+++ b/ventoygui
@@ -2,8 +2,8 @@
 
 cd /opt/ventoy || exit 1
 
-if [[ $(uname -m) = x86_64 ]]; then
+if [ "$(uname -m)" = "x86_64" ]; then
   exec ./VentoyGUI.x86_64 "$@"
-elif [[ $(uname -m) = aarch64 ]]; then
+elif [ "$(uname -m)" = "aarch64" ]; then
   exec ./VentoyGUI.aarch64 "$@"
 fi