From 5ed4e59a5b7c7c61651f9d36cc322b56614a4ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 13 Sep 2010 23:04:57 +0200 Subject: Move wine instances to '~/.wineinsts/' and make this default in template. Added a '$NO_WINEINSTS' which returns to old PREFIX behavior if set. Else PREFIX is relative to ~/.wineinsts/. --- templates/default | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/default b/templates/default index 3f4fa1f..1735635 100644 --- a/templates/default +++ b/templates/default @@ -6,6 +6,8 @@ default_prepare () { [[ $PLAY_DEBUG == 0 ]] && ENV[WINEDEBUG]="-all" +[[ -z $NO_WINEINSTS ]] && EENV[WINEPREFIX]='eval echo $HOME/.wineinsts/$PREFIX' + EXPORT default prepare # vim:ft=sh -- cgit v1.2.3