File: mongrel2-run.prerm

package info (click to toggle)
mongrel2 1.11.0-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,976 kB
  • ctags: 5,326
  • sloc: ansic: 38,934; python: 2,833; sql: 1,555; sh: 457; makefile: 358; asm: 189; yacc: 145; php: 73; awk: 28; sed: 5
file content (12 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

test "$1" = 'remove' || test "$1" = 'deconfigure' || \
  test "$1" = 'failed-upgrade' || exit 0

update-service --remove /etc/sv/mongrel2 || true