Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.

Commit

Permalink
Update create_wine_portable.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Kron4ek authored Aug 24, 2020
1 parent 02dbe64 commit d70e953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create_wine_portable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if [ ! -d wine-runtime ]; then
if [ ! -f "${script_dir}"/binaries/wine-runtime.tar.xz ]; then
echo "binaries/wine-runtime.tar.xz is required!"
exit 1
elif [ "$(stat -c%s "${script_dir}"/binaries/wine-runtime.tar.xz)" -lt 10000 ];
elif [ "$(stat -c%s "${script_dir}"/binaries/wine-runtime.tar.xz)" -lt 10000 ]; then
echo "Seems like binaries/wine-runtime.tar.xz is corrupted!"
exit 1
else
Expand Down Expand Up @@ -95,7 +95,7 @@ if [ ! -f squashfuse.tar ]; then
if [ ! -f "${script_dir}"/binaries/squashfuse.tar ]; then
echo "binaries/squashfuse.tar is required!"
exit 1
elif [ "$(stat -c%s "${script_dir}"/binaries/squashfuse.tar)" -lt 10000 ];
elif [ "$(stat -c%s "${script_dir}"/binaries/squashfuse.tar)" -lt 10000 ]; then
echo "Seems like binaries/squashfuse.tar is corrupted!"
exit 1
else
Expand Down

0 comments on commit d70e953

Please sign in to comment.