File: rush.postrm

package info (click to toggle)
rush 1.7%2Bdfsg-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,716 kB
  • ctags: 3,277
  • sloc: ansic: 7,729; sh: 4,985; perl: 297; makefile: 113; awk: 37; sed: 24
file content (22 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -e

EXECUTABLE=/usr/sbin/rush
LIBDIR=/var/lib/rush

# The two files
#
#    /var/lib/rush/{utmp,wtmp}
#
# are used for accounting. Delete them only
# at package purging, not at package removal.
# This decision simplifies back tracing of
# the server environment.

if [ "$1" = "purge" ]; then
  # Purge any remaining access information.
  rm -f $LIBDIR/utmp $LIBDIR/wtmp
fi

#DEBHELPER#