From 5824f971bb262490159ff9f914248dd7264922dc Mon Sep 17 00:00:00 2001 From: aclist Date: Fri, 25 Nov 2022 14:34:16 +0900 Subject: [PATCH] Hotfix for #40 --- changelog.md | 4 ++++ dzgui.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 6d0c678..44d2fd9 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,10 @@ - Custom query API - Standardize dialogs +## [3.1.0-rc.16] 2022-11-25 +### Fixed +- Hotfix for server modlists returning multiples of same mod + ## [3.1.0-rc.15] 2022-11-24 ### Fixed - Faster path discovery on initial setup diff --git a/dzgui.sh b/dzgui.sh index 4a18d6c..a373d11 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o pipefail -version=3.1.0-rc.15 +version=3.1.0-rc.16 aid=221100 game="dayz" @@ -814,7 +814,7 @@ server_modlist(){ done } compare(){ - diff=$(comm -23 <(server_modlist | sort) <(installed_mods | sort)) + diff=$(comm -23 <(server_modlist | sort -u) <(installed_mods | sort)) } installed_mods(){