From af75e1343e672afaa8aa065aa0675af6a26d3fe8 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 6 Jun 2023 08:30:28 +0200 Subject: [PATCH] add flatpak group --- arch-graphical-install-auto.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-graphical-install-auto.sh b/arch-graphical-install-auto.sh index 7536c6d..92cf05d 100755 --- a/arch-graphical-install-auto.sh +++ b/arch-graphical-install-auto.sh @@ -104,7 +104,7 @@ function standartinstallation() { function addusers() { # Erstelle Gruppen groupid=1000 - for wort in ${user} users wheel audio input power storage video sys optical adm lp scanner sddm kvm fuse autologin network wireshark docker libvirt libvirtdbus; do + for wort in ${user} users wheel audio input power storage video sys optical adm lp scanner sddm kvm fuse autologin network wireshark docker libvirt libvirtdbus flatpak; do if ! cat /etc/group | grep ${wort}; then while cat /etc/group | grep ${groupid}; do groupid=$((${groupid} + 1)) @@ -118,7 +118,7 @@ function addusers() { useruid=$((${useruid} + 1)) done - useradd -m -g ${user} -G users,wheel,audio,input,power,storage,video,sys,optical,adm,lp,scanner,sddm,kvm,fuse,autologin,network,wireshark,docker,libvirt,libvirtdbus -s /usr/bin/zsh --uid ${useruid} ${user} + useradd -m -g ${user} -G users,wheel,audio,input,power,storage,video,sys,optical,adm,lp,scanner,sddm,kvm,fuse,autologin,network,wireshark,docker,libvirt,libvirtdbus,flatpak -s /usr/bin/zsh --uid ${useruid} ${user} echo "${user}:${userpass}" | chpasswd mkdir -p /home/${user}/ userrechte