fix: regression introduced in 5.8.1.

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

View File

@ -1,5 +1,9 @@
# Changelog
## [5.8.2] 2026-01-01
## Fixed
- Fix regression in symlink routine introduced by previous hotfix
## [5.8.1] 2025-12-27
## Fixed
- Path discovery during first-time setup when parsing filepaths with whitespaces

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
version=5.8.1
version=5.8.2
#CONSTANTS
aid=221100
@ -488,9 +488,10 @@ migrate_files(){
}
stale_symlinks(){
local game_dir="$steam_path/steamapps/common/DayZ"
for l in "$(find "$game_dir" -xtype l)"; do
logger DEBUG "Updating stale symlink '$l'"
unlink "$l"
readarray -t links < <(find "$game_dir" -xtype l)
for link in "${links[@]}"; do
logger DEBUG "Updating stale symlink '$link'"
unlink "$link"
done
}
local_latlon(){

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -o pipefail
version="5.8.0"
version="5.8.2"
#CONSTANTS
aid=221100