remove_config
This commit is contained in:
parent
a19fdef81f
commit
b12b9c0d06
1 changed files with 6 additions and 0 deletions
|
@ -170,6 +170,9 @@ EOT
|
||||||
}
|
}
|
||||||
|
|
||||||
function copyconfig() {
|
function copyconfig() {
|
||||||
|
if [ -d /home/"$username"/.config ]; then
|
||||||
|
rm -Rv /home/"$username"/.config
|
||||||
|
fi
|
||||||
cp -aRv /root/. /home/"$username"/
|
cp -aRv /root/. /home/"$username"/
|
||||||
#links
|
#links
|
||||||
links
|
links
|
||||||
|
@ -748,6 +751,9 @@ if [ "$version" != "lite" ]; then
|
||||||
chmod 755 -Rv /usr/share/backgrounds/xfce/
|
chmod 755 -Rv /usr/share/backgrounds/xfce/
|
||||||
|
|
||||||
# .config
|
# .config
|
||||||
|
if [ -d /root/.config ]; then
|
||||||
|
rm -Rv /root/.config
|
||||||
|
fi
|
||||||
mkdir -p /root/.config
|
mkdir -p /root/.config
|
||||||
tar -vxJf /opt/${repo}/.config.tar.xz -C /root/.config/
|
tar -vxJf /opt/${repo}/.config.tar.xz -C /root/.config/
|
||||||
gnomeconfig
|
gnomeconfig
|
||||||
|
|
Loading…
Reference in a new issue