Source

orange / install-scripts / addon-pack / update-and-run.sh

#!/bin/bash
#
# Matija Polajnar, 28. 7. 2010
# matija.polajnar@fri.uni-lj.si
#
# This script issues an update of the packaging scripts and runs the packaging. 
#

(
  echo "=== `date` ==="
  cd `dirname $0`
  ./update-scripts.sh
  export TARGET="/mnt/biolab/add-ons"
  mount $TARGET
  sleep 5
  ./pack-addons.sh
  sleep 5
  umount $TARGET
) >> /var/log/update-and-run.log 2>&1