forked from CastroFidel/PortWINE
###Scripts version 1114 and 1115###
This commit is contained in:
@ -824,7 +824,7 @@ PW_SCRIPTS_UPDATE () {
|
||||
read "scripts_update_not" < "${PORT_WINE_TMP_PATH}/scripts_update_notifier"
|
||||
if [ "${scripts_update_not}" = "1" ] ; then
|
||||
if try_download_silent "https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/data_from_portwine/scripts/var" "${PORT_WINE_TMP_PATH}/scripts_cur_ver" ; then
|
||||
scripts_current_ver=`cat "${PORT_WINE_TMP_PATH}/scripts_cur_ver" | grep SCRIPTS_VERSION | awk -F "=" '{print $2}'`
|
||||
export scripts_current_ver=`cat "${PORT_WINE_TMP_PATH}/scripts_cur_ver" | grep SCRIPTS_VERSION | awk -F "=" '{print $2}'`
|
||||
try_remove_file "${PORT_WINE_TMP_PATH}/scripts_cur_ver"
|
||||
echo "Scripts version in github = ${scripts_current_ver}"
|
||||
echo "Scripts version local = ${scripts_install_ver}"
|
||||
|
Reference in New Issue
Block a user