wine-cellar - updates
[anomen-overlay.git] / app-emulation / wine-cellar / files / install.sh
blob55998b311579159bdc6ce5c7cd9ed12fa650d0cc
1 #!/bin/sh
3 export WINEARCH="win32"
4 export WINECELLAR="$HOME/Wine"
5 export CELLAR_SHARE=/usr/share/wine/cellar
7 if [ -d "$WINECELLAR" ]; then
8 echo Cellar already exists.
9 exit 1
12 echo Creating cellar in "$WINECELLAR"...
13 mkdir -v "$WINECELLAR" || exit 1
14 mkdir -v "$WINECELLAR/drive_t" || exit 1
16 ln -v -s ../.wine "$WINECELLAR/Default"
17 ln -v -s "$CELLAR_SHARE/create.sh.template" "$WINECELLAR/create.sh"