fix: create xdg user after format the home partition

This commit is contained in:
Dany LE
2025-11-03 22:03:40 +01:00
parent b0347665fc
commit 1a103249d7

View File

@@ -34,6 +34,10 @@ case "$1" in
mkdir -p /home/diya
chown -R diya:diya /home/diya
fi
if [ ! -d "/home/xdg" ]; then
mkdir -p /home/xdg
chown -R diya:diya /home/xdg
fi
if ls /boot/*.nmconnection > /dev/null 2>&1 ;then
mv /boot/*.nmconnection /etc/NetworkManager/system-connections/
chmod 600 /etc/NetworkManager/system-connections/*.nmconnection