File: postrm

package info (click to toggle)
mdutils 0.35-27
  • links: PTS
  • area: main
  • in suites: potato
  • size: 156 kB
  • ctags: 74
  • sloc: ansic: 593; makefile: 114; sh: 51
file content (14 lines) | stat: -rw-r--r-- 290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

set -e

if [ "$1" = "purge" ]
then
    update-rc.d mdutils remove > /dev/null
    # Only remove the file if raidtools are not installed
    # The file is shared between them.
    if [ -f /etc/rcS.d/S??raid -a ! -f /etc/init.d/raid ]
    then
	rm -f /etc/rcS.d/S??raid
    fi
fi