Skip to content
Permalink
Browse files

selfupdate: support updating winetricks with a different filename

  • Loading branch information...
austin987 committed Sep 12, 2019
1 parent 637064e commit 1837687854294ef92b476b2db68fe90c3b7b1c64
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/winetricks
@@ -955,7 +955,7 @@ winetricks_selfupdate()
_W_tmpdir=${TMPDIR:-/tmp}
_W_tmpdir="$(mktemp -d "$_W_tmpdir/$_W_filename.XXXXXXXX")"

w_download_to "$_W_tmpdir" https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
w_download_to "$_W_tmpdir" https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks "" "$_W_filename"

# 2016/10/26: now file is uncompressed? Handle both cases:
update_file_type="$(file "$_W_tmpdir/$_W_filename")"

0 comments on commit 1837687

Please sign in to comment.
You can’t perform that action at this time.