Skip to content

Commit

Permalink
Linux: Installer: Overwrite launcher backup if current launcher is okay
Browse files Browse the repository at this point in the history
  • Loading branch information
IntriguingTiles committed Nov 30, 2023
1 parent 78d8f34 commit 3ffd459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Linux/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install() {
cp HLFixes.so "$1/sw.fx"

# only make a backup if the current launcher is seemingly okay
if ! [[ -f "$1/hl_linux.bak" ]] && grep -Fxq 'hw.so' "$path/hl_linux"; then
if grep -Fxq 'hw.so' "$path/hl_linux"; then
echo Making a backup of the launcher...
cp "$1/hl_linux" "$1/hl_linux.bak"
fi
Expand Down

0 comments on commit 3ffd459

Please sign in to comment.