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

View File

@ -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