File: python3-laniakea.postrm

package info (click to toggle)
laniakea 0.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,460 kB
  • sloc: javascript: 38,493; python: 21,153; sh: 196; makefile: 129; ansic: 3
file content (19 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
set -e

case "$1" in
    purge)
        if getent passwd _lklighthouse >/dev/null; then
            deluser --system _lklighthouse || true
            delgroup --system _lklighthouse || true
        fi
        if getent passwd lkweb >/dev/null; then
            deluser --system lkweb || true
            delgroup --system lkweb || true
        fi
    ;;
esac

#DEBHELPER#

exit 0