diff --git a/src/wine/install.sh b/src/wine/install.sh index c113c55..e920da2 100644 --- a/src/wine/install.sh +++ b/src/wine/install.sh @@ -22,7 +22,7 @@ COREFONTS_FILES=( "wd97vwr32.exe" "webdin32.exe" ) -COREFONTS_CACHE_DIR="$HOME/.cache/winetricks/corefonts/" +COREFONTS_CACHE_DIR="\$HOME/.cache/winetricks/corefonts/" update_rc_file() { # see if folder containing file exists @@ -73,13 +73,21 @@ export WINEDEBUG=-all" update_rc_file "$_REMOTE_USER_HOME/.profile" "${snippet}" update_rc_file "$_REMOTE_USER_HOME/.bashrc" "${snippet}" - su - "$_REMOTE_USER" <> ~/.wgetrc - echo "check_certificate = off" >> ~/.wgetrc - mkdir -p "\$COREFONTS_CACHE_DIR" - for filename in "${COREFONTS_FILES[@]}"; do + # su -l "$_REMOTE_USER" <> ~/.wgetrc + # echo "check_certificate = off" >> ~/.wgetrc + # mkdir -p "\$COREFONTS_CACHE_DIR" + # for filename in (${COREFONTS_FILES[@]}); do + # wget -P "$COREFONTS_CACHE_DIR" "$COREFONTS_BASE_URL\$filename" + # done + # winetricks corefonts + # EOF + su -l $_REMOTE_USER <