forked from CastroFidel/PortWINE
update portproton installation script
This commit is contained in:
parent
b103779c44
commit
e6440aff91
@ -323,6 +323,7 @@ else
|
||||
if gui_question "${port_del2}" ; then
|
||||
rm -fr "${PORT_WINE_PATH}"
|
||||
rm -fr "${PORT_WINE_TMP_PATH}"
|
||||
rm -fr "${HOME}/PortWINE"
|
||||
rm -f `grep -il PortProton "${HOME}/.local/share/applications"/*`
|
||||
update-desktop-database -q "${HOME}/.local/share/applications"
|
||||
fi
|
||||
|
@ -159,7 +159,7 @@ try_download_scripts () {
|
||||
try_download_scripts
|
||||
fi
|
||||
}
|
||||
if [ "${PW_SILENT_INSTALL}" = "1" ] ; then
|
||||
if [ "${PW_SILENT_INSTALL}" = "1" ] & [ "$(dirname "`readlink -f "$0"`")" != "/usr/bin" ] ; then
|
||||
try_download_scripts
|
||||
else
|
||||
try_download_scripts | progress_bar
|
||||
|
Loading…
Reference in New Issue
Block a user