Move home directory config installation to desktop config init.d script

This commit is contained in:
Josh.5
2023-09-19 15:59:35 +12:00
parent 7552680a01
commit 37f7280dba
2 changed files with 10 additions and 9 deletions

View File

@@ -31,13 +31,6 @@ export XDG_CONFIG_HOME="${USER_HOME:?}/.config"
export XDG_DATA_HOME="${USER_HOME:?}/.local/share"
# EXECUTE PROCESS:
# Setup home directory
if [[ ! -f /tmp/.home-directory-template-updated ]]; then
echo "Installing default home directory template"
mkdir -p "${USER_HOME:?}"
rsync -aq /templates/home_directory_template/ "${USER_HOME:?}"/
touch /tmp/.home-directory-template-updated
fi
# Wait for the X server to start
wait_for_x
# Install/Upgrade user apps