update bootstrap script

hashbang
Ben Harris 2019-03-25 21:53:58 -04:00
parent c6ee4d686b
commit 6ead74a27b
No known key found for this signature in database
GPG Key ID: 4E0AF802FFF7960C
5 changed files with 188 additions and 11 deletions

View File

@ -2,5 +2,10 @@
this repo is my collection of dotfiles. this repo is my collection of dotfiles.
make sure you have gnu stow installed and run `make`. (install `make` too if it's not already installed) it includes configs for my most frequently used tools.
### steps to install on debian and derivatives
1. `apt install make stow fish git byobu vim`
1. `make nuke install` - note that nuke removes existing files in your $HOME

29
bootstrap.sh 100755
View File

@ -0,0 +1,29 @@
#!/usr/bin/env bash
DISTRO="$1"
RELEASE="$2"
PKGLIST="${DISTRO}.pkglist"
[ -z $DISTRO -o -z $RELEASE ] && \
echo "usage: sudo $0 <distro> <release>" && exit 1
[[ $(id -u) != 0 ]] && \
echo "re-run this as root" && exit 1
# make sure we have sources
echo "deb https://apt.syncthing.net/ syncthing stable" > /etc/apt/sources.list.d/syncthing.list
echo "deb https://weechat.org/${DISTRO} ${RELEASE} main" > /etc/apt/sources.list.d/weechat.list
apt update
apt upgrade -y
apt full-upgrade -y
apt install -y $(xargs < ${PKGLIST})
echo -n "install makefiles? [y/n]"
read answer
[[ "$answer" = "y" ]] && \
make nuke install

View File

@ -1,10 +0,0 @@
#!/bin/sh
echo "deb http://repo.vivaldi.com/stable/deb/ stable main" > /etc/apt/sources.list.d/vivaldi.list
echo "deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list
apt update
apt upgrade -y
apt full-upgrade -y
apt install -y $(xargs < packages.txt)

153
ubuntu.pkglist 100644
View File

@ -0,0 +1,153 @@
apt-transport-https
base-passwd
bison
build-essential
byobu
clang-7
composer
curl
dash
devscripts
diffutils
docker.io
figlet
findutils
finger
firefox-locale-en
fish
flex
fonts-indic
fonts-ipafont-gothic
fonts-ipafont-mincho
git
gnome-tweak-tool
gperf
gpg
grep
grub-common
grub-efi-amd64-signed
grub-gfxpayload-lists
grub-pc
grub-pc-bin
grub2-common
gsettings-desktop-schemas-dev
gzip
hostname
htop
init
keepassxc
language-pack-en
language-pack-en-base
language-pack-gnome-en
language-pack-gnome-en-base
libasound2-dev
libavcodec-dev
libavformat-dev
libavutil-dev
libcap-dev
libcups2-dev
libdebconfclient0
libdrm-dev
libegl1-mesa-dev
libelf-dev
libevent-dev
libexif-dev
libffi-dev
libflac-dev
libgbm-dev
libgcrypt20-dev
libgl1-mesa-dev
libgles2-mesa-dev
libglew-dev
libglib2.0-dev
libglu1-mesa-dev
libgtk-3-dev
libhunspell-dev
libicu-dev
libjpeg-dev
libjs-jquery-flot
libjsoncpp-dev
libkrb5-dev
liblcms2-dev
libminizip-dev
libmodpbase64-dev
libnspr4-dev
libnss3-dev
libopenjp2-7-dev
libopus-dev
libpam0g-dev
libpci-dev
libpng-dev
libpulse-dev
libre2-dev
libsnappy-dev
libspeechd-dev
libsrtp0-dev
libudev-dev
libusb-1.0-0-dev
libva-dev
libvpx-dev
libwebp-dev
libxml2-dev
libxslt1-dev
libxss-dev
libxt-dev
libxtst-dev
linux-generic
linux-headers-generic
linux-signed-generic
lld-7
llvm-7-dev
login
lxd
make
mesa-common-dev
mokutil
mosh
ncdu
ncurses-base
ncurses-bin
neovim
ninja-build
nodejs
npm
nvidia-driver-415
os-prober
packaging-dev
php-cli
python-jinja2
python3
python3-pip
python3-virtualenv
rename
scdaemon
shim-signed
sqlite3
steam:i386
stow
syncthing
thunderbird
ubuntu-desktop
ubuntu-minimal
ubuntu-restricted-addons
ubuntu-standard
ubuntu-wallpapers
ungoogled-chromium
ungoogled-chromium-common
ungoogled-chromium-driver
ungoogled-chromium-l10n
ungoogled-chromium-sandbox
ungoogled-chromium-shell
valgrind
vim
vlc
vscodium
weechat-curses
weechat-perl
weechat-plugins
weechat-python
weechat-ruby
xclip
xvfb
yasm
yubikey-personalization