From 854cb6c361a27758fe3f79928e2a791cb743fe0a Mon Sep 17 00:00:00 2001 From: simono41 Date: Mon, 3 Sep 2018 02:18:54 +0200 Subject: [PATCH] fix --- arch-graphical-install-auto | 24 +++++++++++++++++++++--- packages_libre-xfce4-openrc.txt | 1 + 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index c7e7f88..ae07412 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -180,7 +180,10 @@ function addusers() { if ! cat /etc/group | grep optical; then groupadd optical fi - useradd -m -g users -G wheel,audio,video,sys,optical -s /bin/bash $username + if ! cat /etc/group | grep adm; then + groupadd adm + fi + useradd -m -g users -G wheel,audio,video,sys,optical,adm -s /bin/bash $username passwd ${username} <> /etc/locale.gen # locale-gen # -rm /etc/localtime +if [ -f /etc/localtime ]; then + rm /etc/localtime +fi ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime # iso_name -echo "${repo}-${version}" > /etc/hostname +if ! [ "${version}" == "libre-xfce4-openrc" ]; then + echo "${repo}-${version}" > /etc/hostname +else + echo "hostname=${repo}-${version}" > /etc/conf.d/hostname +fi # uefi-boot cp /opt/${repo1}/uefi-boot.sh /usr/bin/uefi-boot diff --git a/packages_libre-xfce4-openrc.txt b/packages_libre-xfce4-openrc.txt index e743d3e..4cfe04a 100644 --- a/packages_libre-xfce4-openrc.txt +++ b/packages_libre-xfce4-openrc.txt @@ -2,6 +2,7 @@ aalib acl adwaita-icon-theme alsa-lib +alsa-utils aom arch-install-scripts archlinux-keyring