shell/run.sh

45 lines
579 B
Bash

#!/bin/bash
set -x
set -e
# nonessential packages
PACKAGES="
bundler
byobu
ctags
fdupes
irssi
irssi-scripts
jq
magic-wormhole
pbzip2
pv
python3
python3-dev
python3-pip
ruby-dev
screen
screenfetch
socat
tmux
tor
vim
vim-doc
vim-scripts
weechat
weechat-doc
weechat-scripts
"
apt install -y $PACKAGES
pip3 install --upgrade youtube_dl
cp /etc/passwd /etc/passwd.dist
cp /etc/shadow /etc/shadow.dist
chmod +x /etc/service/*/run
# FIXME cp runsvinit to /sbin and set it as CMD