diff --git a/fedora/fedora.sh b/fedora/fedora.sh index 19fbf74..04c0912 100755 --- a/fedora/fedora.sh +++ b/fedora/fedora.sh @@ -4,6 +4,13 @@ set -euo pipefail # Source parent definitions (adjust path if needed) source "$(dirname "$0")/../main_script.sh" +# Map the exported variables to your local names with fallbacks to satisfy set -u +OS="${DETECTED_OS:-fedora}" +DE="${SELECTED_DE:-none}" +TWM="${SELECTED_TWM:-none}" +INSTALL_LEVEL="${INSTALL_LEVEL:-minimal}" +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + echo color_cyan "Starting Fedora setup..." echo