From 290ff8b18cb8d27261e96539841d421decd420dd Mon Sep 17 00:00:00 2001 From: castro-fidel Date: Sat, 15 Jan 2022 19:08:20 +0300 Subject: [PATCH] update portproton installation script 2 --- portwine_install_script/portproton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portwine_install_script/portproton b/portwine_install_script/portproton index 24237f4..cee8ac2 100755 --- a/portwine_install_script/portproton +++ b/portwine_install_script/portproton @@ -159,7 +159,7 @@ try_download_scripts () { try_download_scripts fi } -if [ "${PW_SILENT_INSTALL}" = "1" ] & [ "$(dirname "`readlink -f "$0"`")" != "/usr/bin" ] ; then +if [ "${PW_SILENT_INSTALL}" = "1" ] & [ ! -f "/usr/bin/portproton" ] ; then try_download_scripts else try_download_scripts | progress_bar