File: postrm

package info (click to toggle)
fte 0.50.2-1.2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,696 kB
  • ctags: 6,486
  • sloc: cpp: 48,178; ansic: 2,795; perl: 808; sh: 112; makefile: 106
file content (14 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

# remove FTECFG entry
FTECFG=/etc/fte
if [ -d $FTECFG ] ; then 
	if [ `find $FTECFG | wc -l` -eq 1 ]; then
		rm -rf $FTECFG
		echo "Directory '/etc/fte' removed"
	fi
fi

#DEBHELPER#