debian: don't require root access for dry run

This commit is contained in:
Fernando Schauenburg 2024-03-20 22:47:09 +01:00
parent 5e57c1351e
commit 118cf229d9

View file

@ -247,10 +247,9 @@ dotfiles_url="https://git.schauenburg.me/fernando/dotfiles.git"
main() {
setup_colors
parse_args "$@"
is_dry_run || require_root
setup_commands
require_root
apt_install
grub_disable_timeout
ensure_usr_bin_fd