summaryrefslogtreecommitdiff
path: root/libre/hplip/hplip.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 01:16:44 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 01:16:44 -0300
commitc6faf6b8a2f8db0b3308a136352dfc2f5678bf0e (patch)
tree7c683e4e007c90d8673eaf19239eeb5b71b0c540 /libre/hplip/hplip.install
parentae993cde4a2ed3f55fe66a5fe98e56bf4580ec3c (diff)
downloadabslibre-c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e.tar.gz
abslibre-c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e.tar.bz2
abslibre-c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e.zip
hplip: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/hplip/hplip.install')
-rw-r--r--libre/hplip/hplip.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/libre/hplip/hplip.install b/libre/hplip/hplip.install
new file mode 100644
index 000000000..74532cde3
--- /dev/null
+++ b/libre/hplip/hplip.install
@@ -0,0 +1,18 @@
+post_install() {
+ cat << EOF
+
+NOTE
+----
+# If you want to use this driver with sane:
+# echo "hpaio" >> /etc/sane.d/dll.conf
+
+EOF
+}
+
+post_upgrade() {
+ if [ "`vercmp $2 3.12.4-2`" -lt 0 ]; then
+ # important upgrade notice
+ echo "> Please remove your printer in cups, then add it"
+ echo "> back and reconfigure it to make it work again!"
+ fi
+}