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: 28f972d30b3edae72ac4ec283ccfd8c74f2c9a5f

Message: make wrapper script POSIX compliant

Diff


diff --git a/.SRCINFO b/.SRCINFO
index a042cd2..a0b215a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = ventoy-bin
 	pkgdesc = A new multiboot USB solution (Binary)
 	pkgver = 1.0.13
-	pkgrel = 2
+	pkgrel = 3
 	url = http://www.ventoy.net/
 	arch = i686
 	arch = x86_64
@@ -16,7 +16,7 @@ pkgbase = ventoy-bin
 	source = ventoy
 	source = sanitize.patch
 	sha256sums = 37c64873454ef7126d8f0012030df16f9fa8a31ff87a301750a4118e324860c7
-	sha256sums = 2d4e038bed31571604a7745459156543bfec475c4bbc9d9f11a332d84b48e2f8
+	sha256sums = f9f333e21ec211318ab40018e0da3a44d8bae16e36dd6132e7891f8c9df52f1c
 	sha256sums = c32c24809c3c14520c1a8470dca89c44a2e7fc8b40ce07f705b424a7f2015383
 
 pkgname = ventoy-bin
diff --git a/PKGBUILD b/PKGBUILD
index d41457f..da37f02 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=ventoy-bin
 pkgver=1.0.13
-pkgrel=2
+pkgrel=3
 pkgdesc='A new multiboot USB solution (Binary)'
 url='http://www.ventoy.net/'
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@ conflicts=("${pkgname%-bin}")
 source=("https://github.com/ventoy/Ventoy/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-linux.tar.gz"
         "${pkgname%-bin}" 'sanitize.patch')
 sha256sums=('37c64873454ef7126d8f0012030df16f9fa8a31ff87a301750a4118e324860c7'
-            '2d4e038bed31571604a7745459156543bfec475c4bbc9d9f11a332d84b48e2f8'
+            'f9f333e21ec211318ab40018e0da3a44d8bae16e36dd6132e7891f8c9df52f1c'
             'c32c24809c3c14520c1a8470dca89c44a2e7fc8b40ce07f705b424a7f2015383')
 
 prepare() {
diff --git a/ventoy b/ventoy
index ad10769..927356b 100755
--- a/ventoy
+++ b/ventoy
@@ -1,4 +1,5 @@
-#!/bin/sh
-pushd /opt/ventoy
-exec /opt/ventoy/Ventoy2Disk.sh "$@"
-popd
+#!/bin/bash
+
+pushd /opt/ventoy || exit 1
+/opt/ventoy/Ventoy2Disk.sh "$@"
+popd || exit 1