summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_update.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2010-07-13 14:59:35 +0000
committerramon <ramongomez@us.es>2010-07-13 14:59:35 +0000
commit9ee62adb9637e479247e0607b580ee7a030495a7 (patch)
tree9a59c5f1870992480b359f588088b5e1fedec602 /installer/opengnsys_update.sh
parentffac868a6b1838d5d09972c9fdf246c386d56e6d (diff)
Fixes #170 - Ficheros .torrent se crean en el repositorio y no desde el cliente.
git-svn-id: https://opengnsys.es/svn/trunk@1099 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-xinstaller/opengnsys_update.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index 6ab7f2f8..8f82fb9f 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -304,6 +304,8 @@ function updateServerFiles () {
rsync --exclude .svn -irplt "${SOURCES[$i]}" "${INSTALL_TARGET}/${TARGETS[$i]}"
done
popd >/dev/null
+ echoAndLog "${FUNCNAME}(): updating cron files"
+ echo "* * * * * root [ -x $INSTALL_TARGET/bin/torrent-creator ] && $INSTALL_TARGET/bin/torrent-creator" > /etc/cron.d/torrentcreator
echoAndLog "${FUNCNAME}(): server files updated successfully."
}