#
cleanexit()
{
- if [ ! "$LOCKFILE" ]
- then
- error 'internal error: $LOCKFILE is empty'
- else
- unlink_file "$LOCKFILE"
- fi
+ unlink_file "$LOCKFILE"
-
exit ${1:-0}
}
{
if [ ! "$LOCKFILE" ]
then
- error 'internal error: $LOCKFILE is empty'
+ error 'internal error: LOCKFILE is empty'
fi
#
#portupgrade_logdir=/tmp/pkgfe-logs
+ #portupgrade_logdir=~/.pkgfe-logs
+ #portupgrade_logdir=/usr/local/portupgrade
#
# Additional arguments for portupgrade(1).
#
- # Default: None
+ # Default: None, except "-v" which is always specified.
#
#portupgrade_args="-L ${portupgrade_logdir}/%s::%s.log -l ${portupgrade_logdir}/all.log"
# Only required when updating the ports tree.
#
- csup_supfile=~/ports-supfile
+ #csup_supfile=~/ports-supfile
+ #csup_supfile=/usr/share/examples/cvsup/ports-supfile
#
# Default: None
#
- csup_args="-L 2"
+ #csup_args="-L 2"
+ #csup_args="-L 2 -h CHANGE_THIS.FreeBSD.org"
#
# *Required!*
#
- status_file="/tmp/pkgfe.status"
+ #status_file=/tmp/pkgfe.status
+ #status_file=~/.pkgfe.status
#
# Default: 10
#
- dialog_list_rows="10"
+ #dialog_list_rows="10"
+ #dialog_list_rows="15"
+ #dialog_list_rows="20"
##################################################
# Default: YES
#
- listup_after_upgrade="YES"
+ #listup_after_upgrade="YES"
#
# Default: YES
#
- ignore_held="YES"
+ #ignore_held="YES"
#
# Default: YES
#
- update_portaudit_db="YES"
+ #update_portaudit_db="YES"
#
# Default: NO
#
- enable_real_deinstall="NO"
+ #enable_real_deinstall="NO"
#
# Default: YES
#
- listup_after_deinstall="YES"
+ #listup_after_deinstall="YES"