Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # [kewr.acr.lan issue 166](https://bitbucket.org/autonomy/kewr.acr.lan/issue/166)
- #
- set -e
- set -x
- echo "Starting: " $(date)
- export TERM=xterm
- # Forcefully redeploy our packages to guard against unknown prior state/version;
- # Also ensure that bbruntime gets installed -- that isn't automatic from
- # bbpackage dependencies.
- apt-get -y --force-yes update
- apt-get -y --force-yes install bbsage --reinstall
- apt-get -y --force-yes install bbmint --reinstall
- apt-get -y --force-yes install bbdill --reinstall
- apt-get -y --force-yes install bbthyme --reinstall
- apt-get -y --force-yes install bbginger --reinstall
- # Fix the matplotlib directory installer bug;
- sudo chown -R ${ROBOTO} /home/${ROBOTO}/.matplotlib
- # Deploys new version of bbconfig
- pushd /home/${ROBOTO}/hgdev/org.bitbucket/autonomy/${BBCONFIG_REPO}
- make opt-bbconfig
- make opt-meacr
- popd
- # Install crontab
- cp /opt/bbconfig/current/opt/etc/me.acr/ginger/nobody/crontab-syncbox /etc/crontab
- chown root /etc/crontab
- chmod 644 /etc/crontab
- # Smoke-test the publisher framework
- source /etc/portion.env && source /etc/profile.d/runtime-context.sh && /opt/bbginger/current/bin/publish-list
- echo "Done: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement