From fab69253f734469cda6410be38ad3f5cb72ca206 Mon Sep 17 00:00:00 2001 From: simono41 Date: Tue, 5 Jun 2018 00:23:41 +0200 Subject: [PATCH] add_config_on_end --- arch-graphical-install-auto | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index 5c75aaf..1cba5cb 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -750,15 +750,6 @@ if [ "$version" != "lite" ] && [ "$skip" != "skip" ]; then cp /opt/${repo}/*.jpg /usr/share/backgrounds/xfce/ chmod 755 -Rv /usr/share/backgrounds/xfce/ - # .config - if [ -d /root/.config ]; then - rm -Rv /root/.config - fi - mkdir -p /root/.config - tar -vxJf /opt/${repo}/.config.tar.xz -C /root/.config/ - gnomeconfig - copyconfig - if [ "$version" != "pi" ]; then # zusatzsoftware su "$username" -c "aurinstaller "https://aur.archlinux.org/google-chrome.git"" @@ -774,6 +765,15 @@ if [ "$version" != "lite" ] && [ "$skip" != "skip" ]; then fi +# .config +if [ -d /root/.config ]; then + rm -Rv /root/.config +fi +mkdir -p /root/.config +tar -vxJf /opt/${repo}/.config.tar.xz -C /root/.config/ +gnomeconfig +copyconfig + if pacman -Qdtq; then echo "Verwaiste Packete werden entfernt :)" pacman -Rsn $(pacman -Qdtq) --noconfirm