summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--informant.install6
3 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a780b5f3751c..4ac01a956f36 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = informant
pkgdesc = An Arch Linux News reader and pacman hook
pkgver = 0.2.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/bradford-smith94/informant
install = informant.install
arch = any
@@ -12,7 +12,7 @@ pkgbase = informant
depends = python-feedparser
depends = python-html2text
source = https://github.com/bradford-smith94/informant/archive/v0.2.1.tar.gz
- sha256sums = 5911681cec9b3d49b469f94fea638d30386c4b08f9b19d93bb023143a04d877e
+ sha256sums = 9c689831d0d1362a4fb6783bec318a2f8b0c40fe340595918ed85c9ab0cdee82
pkgname = informant
diff --git a/PKGBUILD b/PKGBUILD
index d6b1185f3fcf..ab2115c2ff9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=informant
pkgver=0.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="An Arch Linux News reader and pacman hook"
arch=('any')
url="https://github.com/bradford-smith94/$pkgname"
diff --git a/informant.install b/informant.install
index 17ce7bc062b7..d30d9c749843 100644
--- a/informant.install
+++ b/informant.install
@@ -11,5 +11,9 @@ post_install() {
post_upgrade() {
post_install
- printf "%sWARNING%s: This update changes the format of the /var/cache/informant.dat file, you will need to re-read all news items.\n" "$YELLOW" "$CLEAR"
+ #new_ver=$1
+ old_ver=$2
+ if [[ $old_ver =~ ^0\.[01]\.* ]]; then
+ printf "%sWARNING%s: This update changes the format of the /var/cache/informant.dat file, you will need to re-read all news items.\n" "$YELLOW" "$CLEAR"
+ fi
}