Fix delete img and create_shortcut (env,sh)

This commit is contained in:
castro-fidel
2020-06-21 16:01:10 +03:00
parent 71c540606e
commit 293a3146d9
4 changed files with 10 additions and 5 deletions

View File

@ -13,7 +13,7 @@ clear && echo '
export gamedir="DIRNAME"
export gamename="NAME"
export portname="PortNAME"
export port_ver="XX"
export port_ver=XX
########################################################################
export PROGS_INST=""
export vexit=0
@ -96,7 +96,7 @@ export PORT_WINE_PATH="${D_PATH}"
if [ ! -d "${PORT_WINE_PATH}" ];then
mkdir -p "$PORT_WINE_PATH"
else
for CLEAN_PORT in "dist" "libs" "tmp" "img" "scripts" "pfx/drive_c/windows"
for CLEAN_PORT in "dist" "libs" "tmp" "scripts" "pfx/drive_c/windows"
do
if [ -d "${PORT_WINE_PATH}/data/${CLEAN_PORT}" ];then
rm -fR "${PORT_WINE_PATH}/data/${CLEAN_PORT}"