Revert "Fixed crontab references in pandora_server_installer"

This reverts commit 3e977465fa101e009bd5e5b94c45bbc35a9b4da4.
This commit is contained in:
fbsanchez 2017-02-27 13:41:14 +01:00
parent 3e977465fa
commit 39e1028e8c

View File

@ -375,7 +375,7 @@ install () {
[ ! -d $DESTDIR/etc/cron.hourly ] && mkdir -p $DESTDIR/etc/cron.hourly
echo "Creating the Cron script to run Pandora DB tool each hour"
echo "#!/bin/bash" > $DESTDIR/etc/cron.hourly/pandora_db
echo "perl $PANDORA_HOME/util/pandora_db.pl /etc/pandora/pandora_server.conf" >> /etc/cron.hourly/pandora_db
echo "perl $PANDORA_HOME/util/pandora_db.pl /etc/pandora/pandora_server.conf" >> $DESTDIR/etc/cron.hourly/pandora_db
chmod +x /etc/cron.hourly/pandora_db
elif [ "$DISTRO" = "FreeBSD" ] || [ "$DISTRO" = "NetBSD" ]
then