Skip to content

Commit

Permalink
use brackets for find parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk committed Aug 28, 2024
1 parent f4b6987 commit dc4e8c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
PREFIX="/usr"
PROGNAME="SteamTinkerLaunch"
NICEPROGNAME="Steam Tinker Launch"
PROGVERS="v14.0.20240821-1 (rermove-protonupqt-version-file)"
PROGVERS="v14.0.20240821-2 (rermove-protonupqt-version-file)"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -22176,7 +22176,7 @@ function CompatTool {

rm "$SCTS/$PROGCMD" 2>/dev/null
# *.vdf is usually 'compatibilitytool.vdf', *.txt is usually 'VERSION.txt' created by ProtonUp-Qt
find "$SCTS" -maxdepth 1 -type f -name "*.vdf" -name "*.txt" -exec rm {} \;
find "$SCTS" -maxdepth 1 -type f \( -name "*.vdf" -o -name "*.txt" \) -exec rm {} \;
rmdir "$SCTS"
if [ ! -d "$SCTS" ]; then
writelog "INFO" "${FUNCNAME[0]} - Removed '$SCTS' successfully" "E"
Expand Down

0 comments on commit dc4e8c3

Please sign in to comment.