summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlwc7
1 files changed, 5 insertions, 2 deletions
diff --git a/lwc b/lwc
index 1bdad8b..99e431a 100755
--- a/lwc
+++ b/lwc
@@ -35,9 +35,12 @@ fi
#{{{ Add Profiles
if [ -n "$NATIVE_PROFILES" ] && [ -n "$FLATPAK_PROFILES" ]; then
- INT="\n"
+ PROFILES="$(printf "%s\n%s" "$NATIVE_PROFILES" "$FLATPAK_PROFILES")"
+elif [ -n "$NATIVE_PROFILES" ]; then
+ PROFILES="$NATIVE_PROFILES"
+else
+ PROFILES="$FLATPAK_PROFILES"
fi
-PROFILES="$NATIVE_PROFILES$INT$FLATPAK_PROFILES"
#}}}
#{{{ Choose Profiles