aboutsummaryrefslogtreecommitdiff
path: root/runs/get-reqs-arch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'runs/get-reqs-arch.sh')
-rwxr-xr-xruns/get-reqs-arch.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/runs/get-reqs-arch.sh b/runs/get-reqs-arch.sh
index 932afdf..e27b762 100755
--- a/runs/get-reqs-arch.sh
+++ b/runs/get-reqs-arch.sh
@@ -1,12 +1,12 @@
#!/bin/sh
. /etc/os-release
-if [ "$ID" == "artix" ] || [ "$ID" == "arch" ]; then
+if [ "$ID" = "artix" ] || [ "$ID" = "arch" ]; then
sudo="sudo"
- [ doas ] && sudo="doas"
+ which doas && sudo="doas"
echo GETTING MIN REQS
- $sudo pacman -S neovim rsync man-db wget git fzf grep
+ $sudo pacman -S neovim rsync man-db wget git fzf ugrep
$sudo pacman -S lf
echo -------------