Disable root bash login during installation

This commit is contained in:
Manuel Thalmann 2024-07-30 00:54:43 +02:00
parent 2e243b488d
commit 1efc677ed7

View file

@ -6,6 +6,7 @@ source "$dir/../Scripts/hooks.fish"
if [ (id -u) -eq 0 ]
set -l name (getConfig valhalla.setupUser.name)
set -l sudoConfig "/etc/sudoers.d/PortValhalla"
rm ~/.bash_profile
runHook createUser || \
begin