mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
20 lines
793 B
Text
20 lines
793 B
Text
post_install() {
|
|
post_upgrade
|
|
}
|
|
post_upgrade() {
|
|
if [ -f /etc/rc.conf ] && [ "`grep -E '(cnid|atalkd|afpd)' /etc/rc.conf`" ];then
|
|
echo '>>> Detected old netatalk daemon entries in';
|
|
echo '>>> /etc/rc.conf, please replace these with';
|
|
echo '>>> "netatalk" before restarting!';
|
|
else echo '>>> Add "netatalk" to your DAEMONS list';fi
|
|
echo '>>>';
|
|
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
|
|
if [ -f /opt/netatalk/afp_signature.conf ] ||
|
|
[ -f /opt/netatalk/afp_voluuid.conf ]; then
|
|
echo '>>> Found *.conf in /opt/netatalk, please';
|
|
echo '>>> migrate these to /etc/netatalk before restarting';fi
|
|
}
|