#!/bin/bash if [ ! -f $HOME/.game.env ]; then echo "Error: .game.env not found" exit 1 fi source $HOME/.game.env if [ -d "$DIR_WINE" ] && [ "$(stat -c '%U' "$DIR_WINE")" = "$USER" ] && command -v wine >/dev/null 2>&1; then wine --version echo "Wine seems installed correctly" else echo "Wine is not installed correctly" exit 1 fi