summarylogtreecommitdiffstats
path: root/evelauncher.sh
diff options
context:
space:
mode:
Diffstat (limited to 'evelauncher.sh')
-rw-r--r--evelauncher.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/evelauncher.sh b/evelauncher.sh
index 0772a32d51af..e1d93c2045b1 100644
--- a/evelauncher.sh
+++ b/evelauncher.sh
@@ -52,7 +52,8 @@ check_wine() {
launcher_msg "ERROR: \"Use custom Wine\" not set!"
exit 1
fi
- WINEDATE=$(ls -l --time-style=+%s $WINEPATH/wineserver | cut -d' ' -f6)
+ WINESERVER=$(readlink -f $WINEPATH/wineserver)
+ WINEDATE=$(ls -l --time-style=+%s $WINESERVER | cut -d' ' -f6)
INSTWINE=$(cat $WINEPREFIX/.update-timestamp 2>/dev/null) || true
if [ "x$WINEDATE" != "x$INSTWINE" ] ;then
if [ -x "$WINEPATH/wine" ] ;then