summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system/LinHES.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-03-21 04:12:49 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-03-21 04:12:49 (GMT)
commit12066094126b4b8d07e6c0df3dab6323d5d71571 (patch)
treeb151e4fcc0aa79a02762e742cfac96f9548b12bc /abs/core-testing/LinHES-system/LinHES.install
parent8fe536ba935dd38e6a1ccfd1066fc9e4d09f1dd3 (diff)
downloadlinhes_pkgbuild-12066094126b4b8d07e6c0df3dab6323d5d71571.zip
linhes_pkgbuild-12066094126b4b8d07e6c0df3dab6323d5d71571.tar.gz
linhes_pkgbuild-12066094126b4b8d07e6c0df3dab6323d5d71571.tar.bz2
linhes-system: create cronjob for mythsmolt to checkin once a week with profile updates
Also fixed myth_mtc.sh from being symlinked if it was already present on install/upgrade closes 656
Diffstat (limited to 'abs/core-testing/LinHES-system/LinHES.install')
-rw-r--r--abs/core-testing/LinHES-system/LinHES.install5
1 files changed, 4 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-system/LinHES.install b/abs/core-testing/LinHES-system/LinHES.install
index 2d2bdf2..9f6a1c1 100644
--- a/abs/core-testing/LinHES-system/LinHES.install
+++ b/abs/core-testing/LinHES-system/LinHES.install
@@ -12,7 +12,10 @@ MVDIR=/usr/LH/bin
# ln -s $MVDIR/backup_job /etc/cron.daily/backup_cron
# ln -s $MVDIR/update_system /etc/cron.daily/xupdate_system_cron
# ln -s $MVDIR/repo_sync.sh /etc/cron.daily/zrepo_sync.sh
- ln -s $MVDIR/myth_mtc.sh /etc/cron.daily/myth_mtc.sh
+ if [ ! -e /etc/cron.daily/myth_mtc.sh ]
+ then
+ ln -s $MVDIR/myth_mtc.sh /etc/cron.daily/myth_mtc.sh
+ fi
#LINE="mythtv ALL = NOPASSWD: /sbin/sv stop mythbackend"
LINE="mythtv ALL=(ALL) NOPASSWD: ALL"