Add a shallow installation script

This commit is contained in:
Manuel Thalmann 2024-07-13 15:49:55 +02:00
parent 84f0e8e1c5
commit bc7869bce5
2 changed files with 20 additions and 1 deletions
scripts/Common/OS

View file

@ -31,6 +31,12 @@ if [ (id -u) -eq 0 ]
and sudo --preserve-env="CONFIG_MODULE" --user "$name" "$INSTALLER_SCRIPT"
rm "$sudoConfig"
userdel -r "$name"
else
runHook initialize || true
runHook installDrivers || true
runHook installOS || true
runHook installSoftware || true
runHook initializeConfig || true
runHook postInstall || true
end