From 1efc677ed7bce86c9fd2daa2cca64ad85f0cb6fc Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 30 Jul 2024 00:54:43 +0200 Subject: [PATCH] Disable `root` bash login during installation --- scripts/Common/OS/install.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Common/OS/install.fish b/scripts/Common/OS/install.fish index 03e05df7..24767546 100755 --- a/scripts/Common/OS/install.fish +++ b/scripts/Common/OS/install.fish @@ -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