This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/arch/provision.d/70-optional-packages.bash

14 lines
247 B
Bash
Executable file

#!/usr/bin/env bash
dir="$(dirname "$(realpath "$0")")"
echo "Inside $dir"
yn() {
echo "$1 [y/N]"
read -r y
# bash convert to lowercase magic
[[ ${y,,} =~ ^y ]]
}
yn "Do you want to install UI packages?" && "$dir/optional/ui-packages.bash"