fix: mod symlink path check

Path check did not get updated in 4feae2c
This commit is contained in:
bastimeyer 2021-12-17 06:33:38 +01:00
parent 261c44eb28
commit d34ba7fc54

View file

@ -236,7 +236,7 @@ setup_mods() {
debug "Mod ${modid} found: ${modname}"
modlink="@${modid}-$(echo "${modname}" | sed -E 's/[^[:alpha:]0-9]+/_/g; s/^_|_$//g')"
if ! [[ -L "${dir_dayz}/@${modlink}" ]]; then
if ! [[ -L "${dir_dayz}/${modlink}" ]]; then
msg "Creating mod symlink for: ${modname} (${modlink})"
ln -sr "${modpath}" "${dir_dayz}/${modlink}"
fi