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 20, 2024
1 parent a2f5039 commit 57cc30c
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 @@ -22177,7 +22177,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 57cc30c

Please sign in to comment.