made get-reqs prettier. fixed script_dir overwrite

This commit is contained in:
2025-06-10 20:39:48 -05:00
parent a67c7f6bab
commit 7cf3fa4899
5 changed files with 61 additions and 31 deletions

View File

@@ -1,9 +1,13 @@
#!/bin/bash
sudo="sudo"
[ doas ] && sudo="doas"
arch="$(uname -r | grep arch)"
artix="$(uname -r | grep artix)"
if [ $artix ] || [ $arch ]; then
sudo="sudo"
[ doas ] && sudo="doas"
echo GETTING MIN REQS
echo GETTING MIN REQS
$sudo pacman -S neovim rsync man-db wget git lf fzf grep
$sudo pacman -S neovim rsync man-db wget git lf fzf grep
echo -------------
echo -------------
fi