]> git.rmz.io Git - dotfiles.git/blobdiff - bin/wine
bin: archive wine script
[dotfiles.git] / bin / wine
diff --git a/bin/wine b/bin/wine
deleted file mode 100755 (executable)
index a7dafbb..0000000
--- a/bin/wine
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-WINE_HOME=/mnt/data/wineprefixes/wine_home
-
-WINE=/usr/bin/wine
-export WINEARCH=${WINEARCH:-win32}
-
-if [[ ! -d "$WINE_HOME" ]]; then
-   echo "'$WINE_HOME' does not exist, please create it first"
-   exit 1
-fi
-
-if [[ ! -d "$WINEPREFIX" ]]; then
-    wineboot -i
-    
-    declare -a DIRS=('Desktop' 'My Documents' 'My Music' 'My Pictures' 'My Videos')
-    for DIR in "${DIRS[@]}"; do
-        [[ ! -d "$WINE_HOME/$DIR" ]] && mkdir "$WINE_HOME/$DIR"
-        ln -sfT "$WINE_HOME/$DIR" "$WINEPREFIX/drive_c/users/$USER/$DIR"
-    done
-fi
-
-$WINE "$@"