fix: regression introduced in 5.8.1.

This commit is contained in:
aclist committed 2026-01-04 21:24:06 +09:00
1 parent 52f36e0d0a
commit fbcfa1fb34
3 files changed
+10 -5

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
# Changelog # Changelog
## [5.8.2] 2026-01-01
## Fixed
- Fix regression in symlink routine introduced by previous hotfix
## [5.8.1] 2025-12-27 ## [5.8.1] 2025-12-27
## Fixed ## Fixed
- Path discovery during first-time setup when parsing filepaths with whitespaces - Path discovery during first-time setup when parsing filepaths with whitespaces
+5 -4
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.8.1 version=5.8.2
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
@@ -488,9 +488,10 @@ migrate_files(){
} }
stale_symlinks(){ stale_symlinks(){
local game_dir="$steam_path/steamapps/common/DayZ" local game_dir="$steam_path/steamapps/common/DayZ"
for l in "$(find "$game_dir" -xtype l)"; do readarray -t links < <(find "$game_dir" -xtype l)
logger DEBUG "Updating stale symlink '$l'" for link in "${links[@]}"; do
unlink "$l" logger DEBUG "Updating stale symlink '$link'"
unlink "$link"
done done
} }
local_latlon(){ local_latlon(){
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version="5.8.0" version="5.8.2"
#CONSTANTS #CONSTANTS
aid=221100 aid=221100