Fix fetchmail symlinks.

When postfix is installed, there are invalid fetchmail symlinks in rc.d.
This commit is contained in:
Michael Tremer
2013-09-17 13:23:57 +02:00
parent d9949d4dd1
commit d63e50f936
4 changed files with 16 additions and 3 deletions

View File

@@ -53,6 +53,11 @@ extract_files
#Update Language cache
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
# Remove invalid fetchmail symlinks when postfix is installed.
if [ ! -e "/etc/rc.d/init.d/fetchmail" ]; then
rm -f /etc/rc.d/rc*.d/*fetchmail
fi
sync
# This update need a reboot...