update portproton installation script

This commit is contained in:
castro-fidel 2022-01-15 18:59:32 +03:00
parent b103779c44
commit e6440aff91
2 changed files with 2 additions and 1 deletions

@ -323,6 +323,7 @@ else
if gui_question "${port_del2}" ; then if gui_question "${port_del2}" ; then
rm -fr "${PORT_WINE_PATH}" rm -fr "${PORT_WINE_PATH}"
rm -fr "${PORT_WINE_TMP_PATH}" rm -fr "${PORT_WINE_TMP_PATH}"
rm -fr "${HOME}/PortWINE"
rm -f `grep -il PortProton "${HOME}/.local/share/applications"/*` rm -f `grep -il PortProton "${HOME}/.local/share/applications"/*`
update-desktop-database -q "${HOME}/.local/share/applications" update-desktop-database -q "${HOME}/.local/share/applications"
fi fi

@ -159,7 +159,7 @@ try_download_scripts () {
try_download_scripts try_download_scripts
fi fi
} }
if [ "${PW_SILENT_INSTALL}" = "1" ] ; then if [ "${PW_SILENT_INSTALL}" = "1" ] & [ "$(dirname "`readlink -f "$0"`")" != "/usr/bin" ] ; then
try_download_scripts try_download_scripts
else else
try_download_scripts | progress_bar try_download_scripts | progress_bar