File: postrm

package info (click to toggle)
mc 4.1.35-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 6,924 kB
  • ctags: 9,665
  • sloc: ansic: 84,273; tcl: 1,779; makefile: 1,266; sh: 864; perl: 262; awk: 148; sed: 93; csh: 1
file content (8 lines) | stat: -rw-r--r-- 91 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/sh

set -e

if [ purge = "$1" ]
then
	if [ -d /etc/mc ]; then rm -r /etc/mc ; fi
fi