1
0
This commit is contained in:
dtb 2022-06-02 20:18:01 -04:00
parent 271b66dad9
commit d5fced4e11
3 changed files with 0 additions and 56 deletions

View File

@ -1,38 +0,0 @@
#!/bin/bash
set -e
# dotfiles/scripts
# Basic scripts to rebuild a system.
# Usage:
# bash README.txt arch
# packages/bootstrap - bare minimum programs. Necessary for system use.
# Install these before running this script.
mkdir -p $HOME/bin # executables
mkdir -p $HOME/src # source code
if [ $1 = "arch" ]; then
sudo pacman -S $(cat packages/all packages/*arch_pacman*)
bash arch_yay.sh
yay -S $(cat packages/*arch_yay*)
bash doas-sudo.sh arch
# you can undo this with pacman -S sudo
elif [ $1 = "artix" ]; then
sudo pacman -S $(cat packages/all packages/*artix_pacman*)
bash arch_yay.sh
yay -S $(cat packages/*artix_yay*)
bash doas-sudo.sh arch
# you can undo this with pacman -S sudo
elif [ $1 = "debian" ]; then
fi
bash dotfiles.sh

View File

@ -1,18 +0,0 @@
#!/bin/sh
set -ex
which sh >/dev/null 2>&1 \
|| exit 1
SH_LOCATION="$(which sh)"
[ -L "$SH_LOCATION" ] \
|| exit 1
which dash >/dev/null 2>&1 \
|| exit 1
unlink "$SH_LOCATION"
ln -s "$(which dash)" "$SH_LOCATION"