diff --git a/src/commands/dotfiles/alacritty-setup.sh b/src/commands/dotfiles/alacritty-setup.sh index ca897362..310f99bb 100755 --- a/src/commands/dotfiles/alacritty-setup.sh +++ b/src/commands/dotfiles/alacritty-setup.sh @@ -10,6 +10,10 @@ command_exists() { } checkEnv() { + checkCommandRequirements 'curl groups sudo' + checkPackageManager 'apt-get dnf pacman zypper nix-env' + checkSuperUser + checkDistro ## Check for requirements. REQUIREMENTS='curl groups sudo' for req in ${REQUIREMENTS}; do diff --git a/src/commands/dotfiles/kitty-setup.sh b/src/commands/dotfiles/kitty-setup.sh index bef3692e..2f877e82 100755 --- a/src/commands/dotfiles/kitty-setup.sh +++ b/src/commands/dotfiles/kitty-setup.sh @@ -10,6 +10,10 @@ command_exists() { } checkEnv() { + checkCommandRequirements 'curl groups sudo' + checkPackageManager 'apt-get dnf pacman zypper nix-env' + checkSuperUser + checkDistro ## Check for requirements. REQUIREMENTS='curl groups sudo' for req in ${REQUIREMENTS}; do diff --git a/src/commands/dotfiles/rofi-setup.sh b/src/commands/dotfiles/rofi-setup.sh index 4d873f90..7d08507f 100755 --- a/src/commands/dotfiles/rofi-setup.sh +++ b/src/commands/dotfiles/rofi-setup.sh @@ -10,6 +10,10 @@ command_exists() { } checkEnv() { + checkCommandRequirements 'curl groups sudo' + checkPackageManager 'apt-get dnf pacman zypper nix-env' + checkSuperUser + checkDistro ## Check for requirements. REQUIREMENTS='curl groups sudo' for req in $REQUIREMENTS; do