mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Fix fetchmail symlinks.
When postfix is installed, there are invalid fetchmail symlinks in rc.d.
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user