dotfiles/ubuntu/up.sh

25 lines
627 B
Bash
Raw Normal View History

#!/bin/bash
set -e
set -v
sudo apt update
sudo apt -y upgrade
2019-05-23 13:43:20 +01:00
sudo apt -y --fix-missing install apt-file aptitude aria2 atop cmake curl git glances gnupg2 keepass2 mercurial pv python-dev python-pip python3-pip ruby-dev tmux vim whois zsh dirmngr syncthing net-tools coreutils xclip wget
if [[ -z $USER ]]; then
USER=`whoami`
fi
sudo usermod -aG docker $USER
if [[ -z $NO_SYSTEMCTL ]]; then
sudo systemctl enable docker
sudo systemctl restart docker
sudo systemctl enable --now syncthing@$USER.service
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$DIR/../"
2019-05-19 21:41:17 +01:00
DIR="$DIR" $DIR/common/up.sh