Skip to content

Commit

Permalink
Fix remaining packagers
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Sep 17, 2024
1 parent ed17561 commit 4404169
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions tabs/security/firewall-baselines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
installPkg() {
echo "Install UFW if not already installed..."
if ! command_exists ufw; then
case ${PACKAGER} in
case "$PACKAGER" in
pacman)
$ESCALATION_TOOL "${PACKAGER}" -S --needed --noconfirm ufw
$ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm ufw
;;
*)
$ESCALATION_TOOL "${PACKAGER}" install -y ufw
$ESCALATION_TOOL "$PACKAGER" install -y ufw
;;
esac
else
Expand Down
8 changes: 4 additions & 4 deletions tabs/utils/monitor-control/utility_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
setup_xrandr() {
echo "Install xrandr if not already installed..."
if ! command_exists xrandr; then
case ${PACKAGER} in
case "$PACKAGER" in
pacman)
$ESCALATION_TOOL "${PACKAGER}" -S --noconfirm xorg-xrandr
$ESCALATION_TOOL "$PACKAGER" -S --noconfirm xorg-xrandr
;;
apt-get)
$ESCALATION_TOOL "${PACKAGER}" install -y x11-xserver-utils
$ESCALATION_TOOL "$PACKAGER" install -y x11-xserver-utils
;;
*)
$ESCALATION_TOOL "${PACKAGER}" install -y xorg-x11-server-utils
$ESCALATION_TOOL "$PACKAGER" install -y xorg-x11-server-utils
;;
esac
else
Expand Down
6 changes: 3 additions & 3 deletions tabs/utils/wifi-control.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ setupNetworkManager() {
if ! command_exists nmcli; then
case ${PACKAGER} in
pacman)
$ESCALATION_TOOL "${PACKAGER}" -S --noconfirm networkmanager
$ESCALATION_TOOL "$PACKAGER" -S --noconfirm networkmanager
;;
dnf)
$ESCALATION_TOOL "${PACKAGER}" install -y NetworkManager-1
$ESCALATION_TOOL "$PACKAGER" install -y NetworkManager-1
;;
*)
$ESCALATION_TOOL "${PACKAGER}" install -y network-manager
$ESCALATION_TOOL "$PACKAGER" install -y network-manager
;;
esac
else
Expand Down

0 comments on commit 4404169

Please sign in to comment.