summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKr1ss2021-02-27 20:30:15 +0100
committerKr1ss2021-02-27 20:30:15 +0100
commit94813dcfef681767e6f8b6a37df2f1d771c7bc7f (patch)
tree36d3a5a7d754e1370b5cc2160938f98629b0584e
parent1d3e7c15e6efaf4e90b4cbaaa5d4e1a706e7f52d (diff)
downloadaur-94813dcfef681767e6f8b6a37df2f1d771c7bc7f.tar.gz
include install script with note about web ui
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD2
-rw-r--r--ventoy.install9
4 files changed, 12 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e52f58eecb83..d85347a9c567 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ventoy-bin
pkgdesc = A new multiboot USB solution (Binary)
pkgver = 1.0.36
- pkgrel = 1
+ pkgrel = 2
url = http://www.ventoy.net/
arch = i686
arch = x86_64
diff --git a/.gitignore b/.gitignore
index c7e4c9fa56c0..cff6491f421c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
!.SRCINFO
!ventoy
!sanitize.patch
+!ventoy.install
diff --git a/PKGBUILD b/PKGBUILD
index c0eb37e8717f..193ef3a1a2aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=ventoy-bin
pkgver=1.0.36
-pkgrel=1
+pkgrel=2
pkgdesc='A new multiboot USB solution (Binary)'
url='http://www.ventoy.net/'
arch=('i686' 'x86_64')
diff --git a/ventoy.install b/ventoy.install
new file mode 100644
index 000000000000..6ae0885d2042
--- /dev/null
+++ b/ventoy.install
@@ -0,0 +1,9 @@
+post_upgrade() {
+ [ $(vercmp $2 1.0.36) -eq -1 ] && post_install
+}
+
+post_install() {
+ echo -e "\e[1;32m==>\e[0;1m ventoy-bin"
+ echo -e "\e[1;34m ->\e[0;1m Please note that usage of the newly added web UI is not yet recommended."
+ echo -e "\e[1;34m ->\e[0;1m It needs to be adapted to the Arch Linux file system hierarchy first."
+}