summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--ricoh-sp220-sane.install5
3 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fdcd3495706a..36936c29e0d2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ricoh-sp220-sane
pkgdesc = SANE driver for Ricoh SP220 series
pkgver = 1.01
- pkgrel = 1
+ pkgrel = 2
url = http://support.ricoh.com/bb/html/dr_ut_e/re1/model/sp221s/sp221s.htm
install = ricoh-sp220-sane.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index aa26df6b621a..8f6f1ba039d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ivan Naydonov <samogot@gmail.com>
pkgname=ricoh-sp220-sane
pkgver=1.01
-pkgrel=1
+pkgrel=2
pkgdesc="SANE driver for Ricoh SP220 series"
arch=('i686' 'x86_64')
diff --git a/ricoh-sp220-sane.install b/ricoh-sp220-sane.install
index d042d3f1adb4..4a2822867d4a 100644
--- a/ricoh-sp220-sane.install
+++ b/ricoh-sp220-sane.install
@@ -7,3 +7,8 @@ post_install() {
post_remove() {
sed -i /"${backend_name}"/d /etc/sane.d/dll.conf
}
+
+post_upgrade() {
+ post_remove
+ post_install
+} \ No newline at end of file