From 7bf89de5042ef0d7dbb1bb9d3ee30c50943f1338 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 31 Jul 2022 23:12:53 -0400 Subject: [PATCH] REF make script easier to read --- scripts/runtime_deps | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/runtime_deps b/scripts/runtime_deps index d4d3743..c728e19 100755 --- a/scripts/runtime_deps +++ b/scripts/runtime_deps @@ -9,20 +9,19 @@ pkgs=(rofi) while [ "$#" -gt 0 ]; do case "$1" in -a|--autorandr) - pkgs=("${pkgs[@]}" autorandr) + pkgs+=(autorandr) ;; -b|--bitwarden) - pkgs=("${pkgs[@]}" bitwarden-cli libnotify) + pkgs+=(bitwarden-cli libnotify) ;; -d|--devices) - pkgs=("${pkgs[@]}" udisks2 cifs-utils veracrypt sshfs jmtpfs \ - libnotify libsecret) + pkgs+=(udisks2 cifs-utils veracrypt sshfs jmtpfs libnotify libsecret) ;; -B|--bluetooth) - pkgs=("${pkgs[@]}" bluez) + pkgs+=(bluez) ;; -e|--expressvpn) - pkgs=("${pkgs[@]}" expressvpn libnotify) + pkgs+=(expressvpn libnotify) ;; *) echo "unknown option: $1"