From 0d2845b61473131f838e811c3cdb4eb783b5d432 Mon Sep 17 00:00:00 2001
From: the-sane <3657071+the-sane@users.noreply.github.com>
Date: Fri, 28 Jul 2023 22:59:44 -0400
Subject: [PATCH] Move wiki formatting
---
lug-helper.sh | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lug-helper.sh b/lug-helper.sh
index dd58802..bec00a0 100755
--- a/lug-helper.sh
+++ b/lug-helper.sh
@@ -2382,6 +2382,7 @@ live_or_ptu="$live_dir"
if [ "$use_zenity" -eq 1 ]; then
releases_url="$releases_url"
lug_wiki="$lug_wiki"
+ lug_wiki_nixos="$lug_wiki_nixos"
fi
# Check if a newer verison of the script is available
@@ -2507,10 +2508,6 @@ fi
# Detect if NixOS is being used and direct user to wiki
if [ "$is_nixos" -eq 1 ]; then
- # Detect if Zenity is being used and format the links
- if [ "$use_zenity" -eq 1 ]; then
- lug_wiki_nixos="$lug_wiki_nixos"
- fi
message info "It looks like you're using NixOS\nPlease see our wiki for NixOS-specific configuration requirements:\n\n$lug_wiki_nixos"
fi