diff --git a/dotfiles/misc/README.txt b/dotfiles/misc/README.txt deleted file mode 100644 index a05ba3e..0000000 --- a/dotfiles/misc/README.txt +++ /dev/null @@ -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 diff --git a/dotfiles/misc/dash_sh.sh b/dotfiles/misc/dash_sh.sh deleted file mode 100644 index 00b9d32..0000000 --- a/dotfiles/misc/dash_sh.sh +++ /dev/null @@ -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" diff --git a/dotfiles/misc/motd b/etc/motd similarity index 100% rename from dotfiles/misc/motd rename to etc/motd