2 # ==============================================================================
3 # portsreinstall library script
4 # Overlay onto lib/libtemp.sh
5 # - Temporary directory and signal trapping -
6 # Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
7 # This software is distributed under the 2-Clause BSD License.
8 # ==============================================================================
10 # ============= Warn when the temporary database is obsolete =============
11 temp_warn_obsolete_temp_db ()
13 [ "x${DATABASE_IS_OBSOLETE}" = xyes ] || return 0
14 message_echo "WARNING: The Ports tree was updated after construction of the temporary database for ${APPNAME}."
15 message_echo "You should consider executing "
16 message_echo " ${APPNAME} reset keepstatus"
17 message_echo "to reset the temporary database unless you have special purposes."