From ade5f11b9a0eab074d24cfdf3eabb121cafd9b34 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 14 Jul 2018 17:54:19 +0200 Subject: [PATCH] config_fix --- arch-graphical-install-auto | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index f350647..ea48715 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -377,6 +377,19 @@ echo " Option \"AccelerationDenominator\" \"1\"" >> /etc/X11/xorg.conf.d/50-mous echo " Option \"AccelerationThreshold\" \"4\"" >> /etc/X11/xorg.conf.d/50-mouse-acceleration.conf echo "EndSection" >> /etc/X11/xorg.conf.d/50-mouse-acceleration.conf +# set config direction + +if [ -d /root/.config ]; then + rm -Rv /root/.config +fi +mkdir -p /root/.config +compress restore /opt/${repo}/.config.tar.pxz /root/.config/ +gnomeconfig +copyconfig + + + + # set system startup files echo "System startup files" @@ -787,17 +800,6 @@ if [ "$version" != "lite" ] && [ "$skip" != "skip" ]; then fi -#if [ "$skip" != "skip" ]; then - # .config - if [ -d /root/.config ]; then - rm -Rv /root/.config - fi - mkdir -p /root/.config - compress restore /opt/${repo}/.config.tar.pxz /root/.config/ - gnomeconfig - copyconfig -#fi - if pacman -Qdtq; then echo "Verwaiste Packete werden entfernt :)" pacman -Rsn $(pacman -Qdtq) --noconfirm