OSDN Git Service

timeline: hide vote button from anonymous user
[newslash/newslash.git] / debian / newslash-searchd.prerm
1 #! /bin/sh
2 # postinst script for slash
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 case "$1" in
9     remove|upgrade)
10       test -e /bin/systemctl && systemctl stop newslash-searchd
11     ;;
12
13     deconfigure|failed-upgrade)
14
15     ;;
16
17     *)
18       echo "postinst called with unknown argument \`$1'" >&2
19       exit 1
20     ;;
21 esac
22
23 # dh_installdeb will replace this with shell code automatically
24 # generated by other debhelper scripts.
25
26 #DEBHELPER#
27
28 exit 0