PKGBUILDs/aur/netatalk/netatalk.install

22 lines
796 B
Text
Raw Normal View History

2012-04-15 16:58:08 +00:00
post_install() {
post_upgrade
}
post_upgrade() {
2013-01-12 00:24:04 +00:00
if [ -f /etc/rc.conf ];then
if [ "`grep -E '(cnid|atalkd|afpd)' /etc/rc.conf`" ];then
2012-04-15 16:58:08 +00:00
echo '>>> Detected old netatalk daemon entries in';
echo '>>> /etc/rc.conf, please replace these with';
echo '>>> "netatalk" before restarting!';
2012-10-13 22:31:26 +00:00
else echo '>>> Add "netatalk" to your DAEMONS list';fi
2013-01-12 00:24:04 +00:00
fi
2012-04-15 16:58:08 +00:00
if [ -f /etc/avahi/services/adisk.service ] ||
[ -f /etc/avahi/services/afpd.service ];then
echo '>>> Detected old netatalk service files in';
echo '>>> /etc/avahi/services, please delete these';
echo '>>> before restarting!';fi
2012-07-24 03:24:40 +00:00
if [ -f /opt/netatalk/afp_signature.conf ] ||
[ -f /opt/netatalk/afp_voluuid.conf ]; then
echo '>>> Found *.conf in /opt/netatalk, please';
2013-02-02 00:03:21 +00:00
echo '>>> migrate these to /var/state/netatalk before restarting';fi
2012-04-15 16:58:08 +00:00
}