Commit e6440aff authored by Mikhail Tergoev's avatar Mikhail Tergoev

update portproton installation script

parent b103779c
...@@ -323,6 +323,7 @@ else ...@@ -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 () { ...@@ -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
......
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