blob: 643bfacb6d45b7989960d076b9bff26d3fee73ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 $*
|