From eea037d136b8af6d71bc367717eddd1d7d8834e1 Mon Sep 17 00:00:00 2001 From: VHSgunzo Date: Mon, 15 Apr 2024 19:52:53 +0300 Subject: [PATCH] Fix mkdir steam compat dir --- lux-wine | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lux-wine b/lux-wine index f18e379..7cd286b 100755 --- a/lux-wine +++ b/lux-wine @@ -2037,6 +2037,7 @@ check_def_wine() { local prtncmptooldir="$HOME_STM_COMPAT_DIR/$BINWINE" try_rm_broken_link "$HOME_STM_COMPAT_DIR" [[ ! -d "$prtncmptooldir" ]] && \ + mkdir -p "$HOME_STM_COMPAT_DIR" && \ ln -sf "$LW_WINE_DIR/$BINWINE" "$prtncmptooldir" break fi @@ -4293,6 +4294,7 @@ try_dl_install_wine() { local prtncmptooldir="$HOME_STM_COMPAT_DIR/$W_DW" try_rm_broken_link "$HOME_STM_COMPAT_DIR" [[ ! -d "$prtncmptooldir" ]] && \ + mkdir -p "$HOME_STM_COMPAT_DIR" && \ ln -sf "$LW_WINE_DIR/$W_DW" "$prtncmptooldir" fi print_info notify "Installation $W_DW completed!"