Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mage4.functions.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 252 by niro, Sun Oct 2 14:09:41 2005 UTC revision 258 by niro, Tue Oct 4 14:35:21 2005 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # Magellan Linux Installer Functions (mage.functions.sh)  # Magellan Linux Installer Functions (mage.functions.sh)
3  # $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 $
4    
5  mage_setup()  mage_setup()
6  {  {
# Line 1972  get_value_from_magefile() Line 1972  get_value_from_magefile()
1972   eval value=\$$(echo ${var})   eval value=\$$(echo ${var})
1973   echo "${value}"   echo "${value}"
1974    
1975   unset preinstall   # unset these functions
1976   unset postinstall   unset -f preinstall
1977   unset preremove   unset -f postinstall
1978   unset postremove   unset -f preremove
1979     unset -f postremove
1980  }  }
1981    
1982  mage_install()  mage_install()
# Line 2156  mage_install() Line 2157  mage_install()
2157  # echo -ne "${COLGREEN}${pname}-${pver}-${pbuild}${COLDEFAULT} "  # echo -ne "${COLGREEN}${pname}-${pver}-${pbuild}${COLDEFAULT} "
2158   echo "successfully installed."   echo "successfully installed."
2159    
2160   unset preinstall   # unset these functions
2161   unset postinstall   unset -f preinstall
2162   unset preremove   unset -f postinstall
2163   unset postremove   unset -f preremove
2164     unset -f postremove
2165  }  }
2166    
2167  md5sum_packages()  md5sum_packages()
# Line 2418  mage_uninstall() Line 2420  mage_uninstall()
2420  # echo -ne "${COLGREEN}${pname}-${pver}-${pbuild}${COLDEFAULT} "  # echo -ne "${COLGREEN}${pname}-${pver}-${pbuild}${COLDEFAULT} "
2421   echo "successfully removed."   echo "successfully removed."
2422    
2423   unset preinstall   # unset these functions
2424   unset postinstall   unset -f preinstall
2425   unset preremove   unset -f postinstall
2426   unset postremove   unset -f preremove
2427     unset -f postremove
2428  }  }
2429    
2430  show_etc_update_mesg() {  show_etc_update_mesg() {

Legend:
Removed from v.252  
changed lines
  Added in v.258