Advertisement
dcuddihy-acr-me

knyc.acr.lab.upgrade-syncbox

Jul 14th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # Syncbox Installation/Upgrade Ticket
  3. #
  4. set -e
  5. set -x
  6.  
  7. echo "Starting: " $(date)
  8. export TERM=xterm
  9.  
  10. # Deploys new versions of spice projects
  11. apt-get -y --force-yes update
  12. apt-get -y --force-yes install bbmint bbdill bbthyme bbginger
  13.  
  14. # Deploys new version of bbconfig
  15. pushd /home/eroboto/hgdev/org.bitbucket/autonomy/${BBCONFIG_REPO}
  16.     make opt-bbconfig
  17.     make opt-meacr
  18.  
  19.     cp /opt/bbconfig/current/opt/etc/me.acr/ginger/nobody/crontab-syncbox /etc/crontab
  20.     chown root /etc/crontab
  21.     chmod 644 /etc/crontab
  22.  
  23. popd
  24.  
  25. echo "Done: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement