From b12b9c0d06c611d2a93c1a6a0bcc4debbf1585ce Mon Sep 17 00:00:00 2001 From: simono41 Date: Tue, 5 Jun 2018 00:06:11 +0200 Subject: [PATCH] remove_config --- arch-graphical-install-auto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index b7e49f7..65966cf 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -170,6 +170,9 @@ EOT } function copyconfig() { + if [ -d /home/"$username"/.config ]; then + rm -Rv /home/"$username"/.config + fi cp -aRv /root/. /home/"$username"/ #links links @@ -748,6 +751,9 @@ if [ "$version" != "lite" ]; then 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