summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmos Onn2020-10-01 03:15:07 +0200
committerAmos Onn2020-10-01 03:15:49 +0200
commitd1e215883dc11a29931271ab24d61d18a76bf52e (patch)
treec945541aadb86560e348e219474728ba0568c540
parentba8428a5da02bdd7a5916f5bacfc607467c0e60d (diff)
downloadaur-d1e215883dc11a29931271ab24d61d18a76bf52e.tar.gz
Fix install script to display message on upgrade
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--firefox-userchromejs.install5
3 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b2ec9d23b5fd..4cc08ed6fe54 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefox-userchromejs
pkgdesc = Patching Firefox to enable JS injection (userchrome-js)
pkgver = 1.7.8
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme/tree/master/Multirow%20and%20other%20functions/JS%20Loader
install = firefox-userchromejs.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index d4101a8d2736..6d965b878219 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=firefox-userchromejs
_pkgname=Quantum-Nox-Firefox-Dark-Full-Theme
pkgver=1.7.8
_pkgver=FF81
-pkgrel=1
+pkgrel=2
pkgdesc="Patching Firefox to enable JS injection (userchrome-js)"
arch=('any')
depends=('firefox')
diff --git a/firefox-userchromejs.install b/firefox-userchromejs.install
index cca46a61e5dc..1d6d5996b1a2 100644
--- a/firefox-userchromejs.install
+++ b/firefox-userchromejs.install
@@ -17,3 +17,8 @@ instructions, as well as some scripts and themes to chose from, see:
EOF
}
+
+post_upgrade() {
+ set 1=$2
+ post_install
+}