summaryrefslogtreecommitdiffstats
path: root/foo2zjs/foo2zjs.install
diff options
context:
space:
mode:
Diffstat (limited to 'foo2zjs/foo2zjs.install')
-rw-r--r--foo2zjs/foo2zjs.install31
1 files changed, 1 insertions, 30 deletions
diff --git a/foo2zjs/foo2zjs.install b/foo2zjs/foo2zjs.install
index 284f90b..e7a45ec 100644
--- a/foo2zjs/foo2zjs.install
+++ b/foo2zjs/foo2zjs.install
@@ -1,48 +1,19 @@
-# This is a default template for a post-install scriptlet. You can
-# remove any functions you don't need (and this header).
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
post_install() {
echo "-------------------------"
echo "You need to restart cups."
echo "-------------------------"
echo
- echo "You need to add your user to the group \"lp\"."
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_upgrade() {
- /bin/true
+ echo "You need to add your user to the lp group."
}
-# arg 1: the new package version
-# arg 2: the old package version
post_upgrade() {
echo "-------------------------"
echo "You need to restart cups."
echo "-------------------------"
-
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
}
-# arg 1: the old package version
post_remove() {
echo "-------------------------"
echo "You need to restart cups."
echo "-------------------------"
-
}
-
-op=$1
-shift
-$op $*