summaryrefslogtreecommitdiff
path: root/pcr/netatalk/netatalk.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/netatalk/netatalk.install')
-rw-r--r--pcr/netatalk/netatalk.install7
1 files changed, 4 insertions, 3 deletions
diff --git a/pcr/netatalk/netatalk.install b/pcr/netatalk/netatalk.install
index 629586531..b27dcd44b 100644
--- a/pcr/netatalk/netatalk.install
+++ b/pcr/netatalk/netatalk.install
@@ -2,12 +2,13 @@ post_install() {
post_upgrade
}
post_upgrade() {
- if [ -f /etc/rc.conf ] && [ "`grep -E '(cnid|atalkd|afpd)' /etc/rc.conf`" ];then
+ if [ -f /etc/rc.conf ];then
+ if [ "`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 '>>>';
+ fi
if [ -f /etc/avahi/services/adisk.service ] ||
[ -f /etc/avahi/services/afpd.service ];then
echo '>>> Detected old netatalk service files in';
@@ -16,5 +17,5 @@ post_upgrade() {
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
+ echo '>>> migrate these to /var/state/netatalk before restarting';fi
}