Skip to content

Commit

Permalink
nook: normally exits with status 199, don't fail for that
Browse files Browse the repository at this point in the history
  • Loading branch information
austin987 committed Mar 16, 2017
1 parent 378acce commit ebe8757
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -11154,8 +11154,15 @@ load_nook()
# 7 Mar 2012 sha256sum 436616d99f0e2351909ab53d910b505c7a3fca248876ebb835fd7bce4aad9720
w_download http://images.barnesandnoble.com/PResources/download/eReader2/bndr2_setup_latest.exe 436616d99f0e2351909ab53d910b505c7a3fca248876ebb835fd7bce4aad9720
w_try_cd "$W_CACHE/$W_PACKAGE"

# Exits with 199 for some reason..
"$WINE" "$file1" ${W_OPT_UNATTENDED:+ /S}
# normally has exit status 199?

status=$?
case $status in
0|199) echo "Successfully installed $W_PACKAGE" ;;
*) w_die "Failed to install $W_PACKAGE" ;;
esac
}

#----------------------------------------------------------------
Expand Down

0 comments on commit ebe8757

Please sign in to comment.