diff options
author | zachir <zachir@librem.one> | 2025-09-07 18:46:43 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2025-09-07 18:46:43 -0500 |
commit | 32ad5f29995b985cd7e72cef21308f87cd4098f9 (patch) | |
tree | 5c6b85ccfdd3be0e300914dc5a4799f724056f76 | |
parent | 7e0c93155253b05b8e0ce3bade9c8622acf2eab6 (diff) |
Fix merging profiles lists
-rwxr-xr-x | lwc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |