File: postrm

package info (click to toggle)
fte 0.46b5-4.2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,844 kB
  • ctags: 5,183
  • sloc: cpp: 39,445; ansic: 2,415; perl: 567; makefile: 71; sh: 30
file content (11 lines) | stat: -rw-r--r-- 182 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/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