diff options
author | Jernuh Zakalwe | 2018-11-17 14:35:11 +0100 |
---|---|---|
committer | Jernuh Zakalwe | 2018-11-17 14:35:11 +0100 |
commit | 2e13f4bfb495889eae9d64ae26ac4df2ac651b24 (patch) | |
tree | d1e74dfa3f954f3f3244a72cfde1d88f4cc0f692 /evelauncher.sh | |
parent | 8c98ae0c6a045da42bc43169de086e9d3aedc165 (diff) | |
download | aur-2e13f4bfb495889eae9d64ae26ac4df2ac651b24.tar.gz |
Minor changes on build_installer.sh.
Wine version check in evelauncher.sh search now for wine.inf to determine wine build date.
Diffstat (limited to 'evelauncher.sh')
-rw-r--r-- | evelauncher.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/evelauncher.sh b/evelauncher.sh index 85fe4a4543ed..30bc0a8c7c09 100644 --- a/evelauncher.sh +++ b/evelauncher.sh @@ -54,11 +54,9 @@ check_wine() { fi if [ -x "$WINEPATH/wine" ] ;then INSTWINE=$(cat $WINEPREFIX/.update-timestamp 2>/dev/null) || true - for CMD in wine wine64 wineserver ;do - WINECMD=$(readlink -f "$WINEPATH/$CMD") - WINEDATE=$(ls -l --time-style=+%s "$WINECMD" 2>/dev/null | cut -d' ' -f6) - test "x$WINEDATE" = "x$INSTWINE" && break - done + WINEPATH=$(readlink -f "$CUSTOMWP") + WINECONF=$(find "${WINEPATH%/bin*}"/share -name 'wine.inf' 2>/dev/null) || true + WINEDATE=$(ls -l --time-style=+%s "$WINECONF" 2>/dev/null | cut -d' ' -f6) if [ "x$WINEDATE" != "x$INSTWINE" ] ;then launcher_msg "Preparing/Updating wine in $WINEPREFIX" env WINEARCH=win32 \ |