From fcd38777a8c15bd829cede20a0b33f5791662983 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Thu, 26 Dec 2024 21:44:20 +0100 Subject: [PATCH] stower.sh aktualisiert --- stower.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/stower.sh b/stower.sh index 31e16ac..c9d4b16 100755 --- a/stower.sh +++ b/stower.sh @@ -103,7 +103,7 @@ function inst_pkgs { if [[ $confirm_basics == "Y" ]]; then - declare -a pkg_list=(wayland stow jq network-manager-applet alarm-clock-applet man-db hardinfo networkmanager-openvpn udisks2 plocate vim alacritty gettext-hostname lsd alsa-utils ponymix btop polkit polkit-gnome timeshift timeshift-autosnap pcmanfm librewolf-bin fzf unzip hyprland hypridle hyprlock hyprcursor hyprkeys hyprpicker swww waypaper xdg-desktop-portal-hyprland wdisplays waybar-cava-git nwg-look cliphist wlogout hyprlock waybar-module-pacman-updates ufw zsh oh-my-zsh noise-suppression-for-voice grim satty-bin slurp dunst sweet-cursor-theme-git catppuccin-gtk-theme-mocha rofi-lbonn-wayland-git cmake meson cpio pkg-config) + declare -a pkg_list=(wayland stow jq network-manager-applet alarm-clock-applet man-db hardinfo networkmanager-openvpn udisks2 plocate vim alacritty gettext-hostname lsd alsa-utils ponymix btop polkit polkit-gnome timeshift timeshift-autosnap pcmanfm librewolf-bin fzf unzip hyprland hypridle hyprlock hyprcursor hyprkeys hyprpicker swww waypaper xdg-desktop-portal-hyprland wdisplays waybar-cava-git nwg-look cliphist wlogout hyprlock waybar-module-pacman-updates ufw zsh oh-my-zsh noise-suppression-for-voice grim satty-bin slurp dunst sweet-cursor-theme-git sweet-cursors-hyprcursor-git catppuccin-gtk-theme-mocha rofi-lbonn-wayland-git cmake meson cpio pkg-config) for key in "${pkg_list[@]}" do @@ -154,8 +154,10 @@ function inst_davfs { do pkg_inst $key done - - sudo usermod -a -G davfs2 $USER + + if [ $(getent group admin) ]; then + sudo usermod -a -G davfs2 $USER + fi fi cd $HYPRMOONARCH_DIR