Commit c880dc76 authored by Mikhail Tergoev's avatar Mikhail Tergoev

prefix to pfx

parent ba5df922
...@@ -96,20 +96,20 @@ export PORT_WINE_PATH="${D_PATH}" ...@@ -96,20 +96,20 @@ export PORT_WINE_PATH="${D_PATH}"
if [ ! -d "${PORT_WINE_PATH}" ];then if [ ! -d "${PORT_WINE_PATH}" ];then
mkdir -p "$PORT_WINE_PATH" mkdir -p "$PORT_WINE_PATH"
else else
for CLEAN_PORT in "dist" "libs" "tmp" "img" "scripts" "prefix/drive_c/windows" for CLEAN_PORT in "dist" "libs" "tmp" "img" "scripts" "pfx/drive_c/windows"
do do
if [ -d "${PORT_WINE_PATH}/data/${CLEAN_PORT}" ];then if [ -d "${PORT_WINE_PATH}/data/${CLEAN_PORT}" ];then
rm -fR "${PORT_WINE_PATH}/data/${CLEAN_PORT}" rm -fR "${PORT_WINE_PATH}/data/${CLEAN_PORT}"
fi fi
done done
if [ -d "${PORT_WINE_PATH}/data/prefix/drive_c/Games/${gamedir}" ];then if [ -d "${PORT_WINE_PATH}/data/pfx/drive_c/Games/${gamedir}" ];then
export PORT_GAMEDIR="${PORT_WINE_PATH}/data/prefix/drive_c/Games/${gamedir}" export PORT_GAMEDIR="${PORT_WINE_PATH}/data/pfx/drive_c/Games/${gamedir}"
mv -f "${PORT_GAMEDIR}" "${PORT_GAMEDIR}_old" mv -f "${PORT_GAMEDIR}" "${PORT_GAMEDIR}_old"
elif [ -d "${PORT_WINE_PATH}/data/prefix/drive_c/Program Files/${gamedir}" ];then elif [ -d "${PORT_WINE_PATH}/data/pfx/drive_c/Program Files/${gamedir}" ];then
export PORT_GAMEDIR="${PORT_WINE_PATH}/data/prefix/drive_c/Program Files/${gamedir}" export PORT_GAMEDIR="${PORT_WINE_PATH}/data/pfx/drive_c/Program Files/${gamedir}"
mv -f "${PORT_GAMEDIR}" "${PORT_GAMEDIR}_old" mv -f "${PORT_GAMEDIR}" "${PORT_GAMEDIR}_old"
elif [ -d "${PORT_WINE_PATH}/data/prefix/drive_c/Program Files (x86)/${gamedir}" ];then elif [ -d "${PORT_WINE_PATH}/data/pfx/drive_c/Program Files (x86)/${gamedir}" ];then
export PORT_GAMEDIR="${PORT_WINE_PATH}/data/prefix/drive_c/Program Files (x86)/${gamedir}" export PORT_GAMEDIR="${PORT_WINE_PATH}/data/pfx/drive_c/Program Files (x86)/${gamedir}"
mv -f "${PORT_GAMEDIR}" "${PORT_GAMEDIR}_old" mv -f "${PORT_GAMEDIR}" "${PORT_GAMEDIR}_old"
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment