1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00
Files
UXP/testing/docker/decision/system-setup.sh
T

30 lines
401 B
Bash

#!/usr/bin/env bash
set -v -e
test `whoami` == 'root'
apt-get update
apt-get install -y --force-yes --no-install-recommends \
ca-certificates \
python \
sudo
BUILD=/root/build
mkdir $BUILD
tooltool_fetch() {
cat >manifest.tt
python2.7 /tmp/tooltool.py fetch
rm manifest.tt
}
cd $BUILD
. /tmp/install-mercurial.sh
cd /
rm -rf $BUILD
apt-get clean
apt-get autoclean
rm $0