From 010c9190c7258732debc919c36fe1ddce8db4f0d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 30 Sep 2024 14:57:03 +0200 Subject: [PATCH] Ask for profile if unspecified --- scripts/Common/OS/setup.fish | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/Common/OS/setup.fish b/scripts/Common/OS/setup.fish index 34d9a234..4a34d1f4 100755 --- a/scripts/Common/OS/setup.fish +++ b/scripts/Common/OS/setup.fish @@ -3,6 +3,12 @@ function runSetup set -l dir (status dirname) source "$dir/../Scripts/config.fish" source "$dir/../Scripts/hooks.fish" + + if [ -z "$CONFIG_NAME" ] + selectProfile config + set -x CONFIG_NAME "$config" + end + set -l mountDir (getOSConfig partition.rootDir) set -l projectRoot (realpath "$dir/../../..") set -l projectName (basename "$projectRoot")