unset SKIP_CHECK_UPDATES in pw_port_update
This commit is contained in:
parent
b273ffb08c
commit
2b2027ee2b
@ -1269,8 +1269,8 @@ pw_init_db () {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# SCRIPTS UPDATE
|
||||||
pw_port_update () {
|
pw_port_update () {
|
||||||
###SCRIPTS UPDATE###
|
|
||||||
if [ ! -f "${PORT_WINE_TMP_PATH}/scripts_ver" ] ; then
|
if [ ! -f "${PORT_WINE_TMP_PATH}/scripts_ver" ] ; then
|
||||||
echo "2024" > "${PORT_WINE_TMP_PATH}/scripts_ver"
|
echo "2024" > "${PORT_WINE_TMP_PATH}/scripts_ver"
|
||||||
fi
|
fi
|
||||||
@ -1342,7 +1342,7 @@ pw_port_update () {
|
|||||||
try_remove_dir "${PORT_WINE_TMP_PATH}/PortWINE-master/"
|
try_remove_dir "${PORT_WINE_TMP_PATH}/PortWINE-master/"
|
||||||
echo "${scripts_current_ver}" > "${PORT_WINE_TMP_PATH}/scripts_ver"
|
echo "${scripts_current_ver}" > "${PORT_WINE_TMP_PATH}/scripts_ver"
|
||||||
echo "Restarting PP after update..."
|
echo "Restarting PP after update..."
|
||||||
export SKIP_CHECK_UPDATES=1
|
unset SKIP_CHECK_UPDATES
|
||||||
/usr/bin/env bash -c ${pw_full_command_line[*]} &
|
/usr/bin/env bash -c ${pw_full_command_line[*]} &
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user