23 lines
392 B
Bash
23 lines
392 B
Bash
#!/bin/bash
|
|
|
|
|
|
set -x
|
|
logfile=test.txt
|
|
|
|
exec > $logfile 2>&1
|
|
sudo apt-get update
|
|
sudo apt-get install -y \
|
|
tmux \
|
|
htop \
|
|
wget \
|
|
git \
|
|
rake \
|
|
zsh \
|
|
|
|
rm -rf .yadr/
|
|
|
|
HOME=/root
|
|
wget https://raw.githubusercontent.com/o0beaner/dotfiles/master/install.sh
|
|
chmod +x ./install.sh
|
|
su -c "`curl -fksSL https://raw.githubusercontent.com/o0beaner/dotfiles/master/install.sh`" $USER
|