aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamsmtp/clamsmtp.pre-upgrade
blob: 12de39f7b15d06cf35648e2128c510608805d2d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

old=/etc/conf.d/clamsmtp
new=/etc/conf.d/clamsmtpd

if [ -f "$old" ] && [ ! -f "$new" ]; then
	mv "$old" "$new"
	echo " *"
	echo " * NOTICE: $old was renamed to $new"
	echo " *"
fi