[repo] Add & update docs, fix install script dirs
This commit is contained in:
parent
14d56b5544
commit
4f4e67ff1c
3 changed files with 15 additions and 6 deletions
11
install.sh
11
install.sh
|
|
@ -2,13 +2,14 @@
|
|||
#
|
||||
# install.sh
|
||||
#
|
||||
# Installs dotfiles and packages for my setup
|
||||
# Installs dotfiles and packages for my setup.
|
||||
# Needs to be invoked from containing dotfile directory to work correctly.
|
||||
#
|
||||
# Will first install yay, then all my used packages (read from bootstrap/packages.csv)
|
||||
# Will first install yay, then all my used packages (read from bootstrap/packages.txt)
|
||||
#
|
||||
# Finally, symlinks all dotfiles into their correct locations using stow
|
||||
|
||||
bootstrap_dir="${BOOTSTRAP_DIRECTORY:-./_bootstrap}"
|
||||
bootstrap_dir="${BOOTSTRAP_DIRECTORY:-./bootstrap}"
|
||||
|
||||
main() {
|
||||
local cmd=""
|
||||
|
|
@ -64,10 +65,10 @@ install() {
|
|||
fi
|
||||
echo "====================== BEGINNING INSTALLATION ============================="
|
||||
if ! "$unattended"; then
|
||||
export BOOTSTRAP_PACKAGES="_bootstrap/packages.txt"
|
||||
export BOOTSTRAP_PACKAGES="bootstrap/packages.txt"
|
||||
"$bootstrap_dir"/install_packages.sh
|
||||
else
|
||||
export BOOTSTRAP_PACKAGES="_bootstrap/packages.txt"
|
||||
export BOOTSTRAP_PACKAGES="bootstrap/packages.txt"
|
||||
"$bootstrap_dir"/install_packages.sh -f
|
||||
fi
|
||||
unset BOOTSTRAP_PACKAGES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue