minor changes

This commit is contained in:
julien
2025-10-03 15:51:17 +02:00
parent 59e9d5bbd5
commit a53bf922fd
3 changed files with 8 additions and 29 deletions

View File

@@ -12,19 +12,4 @@ fi
if [ $profile = desktop ]; then
# Disable all managed interfaces excerpt loopback from /etc/network/interfaces file to allow NetworkManager to manage them
sed -i '/# The primary network interface/Q' /etc/network/interfaces
# Copy user config files
if [ ! -d /etc/skel/.config ]; then
mkdir /etc/skel/.config
fi
cp -r config/. /etc/skel/.config
for f in /home/*
do
if [ ! -d $f/.config ]; then
mkdir $f/.config
fi
cp -r config/. $f/.config
chown -R ${f##*/}:${f##*/} $f/.config
done
fi