Your IP : 216.73.216.170


Current Path : /var/lib/dpkg/info/
Upload File :
Current File : //var/lib/dpkg/info/portmap.preinst

#! /bin/sh
set -e

action=$1
version=$2
CONFFILE=/etc/default/portmap

# TBD: should be based on a given version
if [ "$action" = "upgrade" ] && [ -e /etc/portmap.conf ] \
   && dpkg --compare-versions "$version" gt 5-10 \
   && dpkg --compare-versions "$version" lt 5-13 ; then
	# get rid of /etc/portmap.conf if it did not change from the default?
	# Move to the "new" conffile location, let the user handle
	# the change (if needed)
		[ -e $CONFFILE ] && mv $CONFFILE $CONFFILE.dpkg-old
		mv /etc/portmap.conf $CONFFILE
fi



exit 0


Warning: Unknown: open(/var/www/iplanru/data/bin-tmp/sess_956bf28495d5166252474eb6cb9ec45c, O_RDWR) failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/iplanru/data/bin-tmp) in Unknown on line 0