--- trunk/mage/usr/lib/mage/mage4.functions.sh 2005/10/02 14:09:41 252 +++ trunk/mage/usr/lib/mage/mage4.functions.sh 2005/10/04 14:35:21 258 @@ -1,6 +1,6 @@ #!/bin/bash # Magellan Linux Installer Functions (mage.functions.sh) -# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.functions.sh,v 1.6 2005-10-02 14:09:41 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.functions.sh,v 1.7 2005-10-04 14:35:21 niro Exp $ mage_setup() { @@ -1972,10 +1972,11 @@ eval value=\$$(echo ${var}) echo "${value}" - unset preinstall - unset postinstall - unset preremove - unset postremove + # unset these functions + unset -f preinstall + unset -f postinstall + unset -f preremove + unset -f postremove } mage_install() @@ -2156,10 +2157,11 @@ # echo -ne "${COLGREEN}${pname}-${pver}-${pbuild}${COLDEFAULT} " echo "successfully installed." - unset preinstall - unset postinstall - unset preremove - unset postremove + # unset these functions + unset -f preinstall + unset -f postinstall + unset -f preremove + unset -f postremove } md5sum_packages() @@ -2418,10 +2420,11 @@ # echo -ne "${COLGREEN}${pname}-${pver}-${pbuild}${COLDEFAULT} " echo "successfully removed." - unset preinstall - unset postinstall - unset preremove - unset postremove + # unset these functions + unset -f preinstall + unset -f postinstall + unset -f preremove + unset -f postremove } show_etc_update_mesg() {