add_config_on_end
This commit is contained in:
parent
9dfd833fe8
commit
fab69253f7
1 changed files with 9 additions and 9 deletions
|
@ -750,15 +750,6 @@ if [ "$version" != "lite" ] && [ "$skip" != "skip" ]; then
|
||||||
cp /opt/${repo}/*.jpg /usr/share/backgrounds/xfce/
|
cp /opt/${repo}/*.jpg /usr/share/backgrounds/xfce/
|
||||||
chmod 755 -Rv /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
|
if [ "$version" != "pi" ]; then
|
||||||
# zusatzsoftware
|
# zusatzsoftware
|
||||||
su "$username" -c "aurinstaller "https://aur.archlinux.org/google-chrome.git""
|
su "$username" -c "aurinstaller "https://aur.archlinux.org/google-chrome.git""
|
||||||
|
@ -774,6 +765,15 @@ if [ "$version" != "lite" ] && [ "$skip" != "skip" ]; then
|
||||||
|
|
||||||
fi
|
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
|
if pacman -Qdtq; then
|
||||||
echo "Verwaiste Packete werden entfernt :)"
|
echo "Verwaiste Packete werden entfernt :)"
|
||||||
pacman -Rsn $(pacman -Qdtq) --noconfirm
|
pacman -Rsn $(pacman -Qdtq) --noconfirm
|
||||||
|
|
Loading…
Reference in a new issue