File: postrm

package info (click to toggle)
ud 0.7.1-13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 276 kB
  • ctags: 38
  • sloc: ansic: 704; sh: 522; makefile: 69
file content (12 lines) | stat: -rw-r--r-- 183 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

set -e

#DEBHELPER#

if [ "$1" = "purge" ]; then
    echo -n "Purging ud uptime record file... "
    rm -f /etc/uptime.record /etc/uptime.record.old
    echo "done."
fi