config_fix
This commit is contained in:
parent
95b088155c
commit
e30f8d8d0d
1 changed files with 9 additions and 16 deletions
|
@ -323,15 +323,6 @@ fi
|
|||
# mirrorlist
|
||||
cp /opt/${repo}/mirrorlist* /etc/pacman.d/
|
||||
|
||||
# new-config
|
||||
if [ -d /home/"$username"/.config ]; then
|
||||
rm -Rv /home/"$username"/.config
|
||||
fi
|
||||
|
||||
if [ -d /root/.config ]; then
|
||||
rm -Rv /root/.config
|
||||
fi
|
||||
|
||||
if [ -f /var/lib/pacman/db.lck ];then
|
||||
rm /var/lib/pacman/db.lck
|
||||
fi
|
||||
|
@ -769,14 +760,16 @@ if [ "$version" != "lite" ] && [ "$skip" != "skip" ]; then
|
|||
|
||||
fi
|
||||
|
||||
# .config
|
||||
if [ -d /root/.config ]; then
|
||||
rm -Rv /root/.config
|
||||
if [ "$skip" != "skip" ]; then
|
||||
# .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
|
||||
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 :)"
|
||||
|
|
Loading…
Reference in a new issue