File: postrm

package info (click to toggle)
ud 0.7.1-18
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 380 kB
  • ctags: 45
  • sloc: sh: 2,865; ansic: 784; makefile: 90
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