summarylogtreecommitdiffstats
path: root/mp620.install
diff options
context:
space:
mode:
Diffstat (limited to 'mp620.install')
-rw-r--r--mp620.install26
1 files changed, 26 insertions, 0 deletions
diff --git a/mp620.install b/mp620.install
new file mode 100644
index 000000000000..643bfacb6d45
--- /dev/null
+++ b/mp620.install
@@ -0,0 +1,26 @@
+# arg 1: the new package version
+post_install() {
+ echo -n "Restarting the CUPS daemon... "
+ systemctl restart cups.service > /dev/null && echo "done"
+ echo "Please select the following driver during CUPS configuration :
+ Canon MP620-630 series Ver.3.00"
+}
+
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ echo -n "Restarting the CUPS daemon... "
+ systemctl restart cups.service > /dev/null && echo "done"
+}
+
+
+# arg 1: the old package version
+post_remove() {
+ echo -n "Restarting the CUPS daemon... "
+ systemctl restart cups.service > /dev/null && echo "done"
+}
+
+op=$1
+shift
+$op $*