diff --git a/steamtinkerlaunch b/steamtinkerlaunch index fa627b2a..b873c5d9 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -2263,8 +2263,10 @@ function loadLangFile { if [ -n "$UPDATELANGFILEPATH" ]; then writelog "INFO" "${FUNCNAME[0]} - Found lang file to replace the existing user-installed file with under '$UPDATELANGFILEPATH'" + chmod +w "$LAFI" #Ensure write permissions before removing rm "$LAFI" cp "$UPDATELANGFILEPATH" "$LAFI" + chmod -R +w "$STLLANGDIR" #Ensure write permissions for next update! else writelog "INFO" "${FUNCNAME[0]} - No lang file to replace existing user-installed file with, not updating langfile" fi