search for: wineprefixstatus

Displaying 1 result from an estimated 1 matches for "wineprefixstatus".

2009 Jun 24
2
Script to run Wine and save log
...-x /usr/local/bin/wine ]; then wine="/usr/local/bin/wine" elif [ -x /usr/bin/wine ]; then wine="/usr/bin/wine" else wine=wine fi WINEPREFIX="${WINEPREFIX:-$HOME/.wine}" export state not changed date=`date +%Y%m%d-%H:%M:%S` if [ -d "$WINEPREFIX" ]; then wineprefixstatus="Not clean" else wineprefixstatus="Clean" fi if ! winever=`$wine --version` 2> /dev/null; then echo "Fatal error: Cannot run wine with command '$wine'!" 1>&2 exit 1 fi mkdir "$logpath" logname="$logpath/$1.$date.$winever.log"...