File: postrm

package info (click to toggle)
ssmtp 2.27-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 180 kB
  • ctags: 85
  • sloc: ansic: 855; makefile: 75; sh: 45
file content (8 lines) | stat: -rwxr-xr-x 148 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ "$1" = "purge" ] ; then
	rmdir /etc/ssmtp > /dev/null 2>&1
	if [ $? = 1 ]; then
		echo "/etc/ssmtp not empty -- not removed"
	fi
fi