File: postrm

package info (click to toggle)
efte 1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,800 kB
  • sloc: cpp: 43,587; ansic: 1,228; makefile: 271; objc: 92; sh: 40
file content (12 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# 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#