File: postrm

package info (click to toggle)
ssmtp 2.30-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 208 kB
  • ctags: 93
  • sloc: ansic: 1,128; makefile: 86; sh: 74
file content (8 lines) | stat: -rw-r--r-- 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