Fix chowning $HOME for user created before installing desktop-settings

This commit is contained in:
Chrysostomus 2017-03-03 23:20:24 +08:00
parent da7e968f31
commit 0122f47d1f

View File

@ -149,7 +149,7 @@ install_manjaro_de_wm() {
for home in $(echo $MOUNTPOINT/home/*); do
cp -ar $MOUNTPOINT/etc/skel/. $home/
user=$(echo $home | cut -d/ -f4)
arch_chroot "chown -R ${user}:${user} $home"
arch_chroot "chown -R ${user}:${user} /home/${user}"
done
fi
# Enable services in the chosen profile