Magellan Linux

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

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

revision 1650 by niro, Fri Jan 13 21:04:02 2012 UTC revision 1651 by niro, Fri Jan 13 22:26:20 2012 UTC
# Line 19  smagesource() Line 19  smagesource()
19   if [[ -n ${PCATEGORIE} ]]   if [[ -n ${PCATEGORIE} ]]
20   then   then
21   PCAT="${PCATEGORIE}"   PCAT="${PCATEGORIE}"
22     unset PCATEGORIE
23   # print a warning   # print a warning
24   echo -e "${COLYELLOW}Warning: 'PCATEGORIE' is deprecated and gets removed in the future.${COLDEFAULT}"   echo -e "${COLYELLOW}Warning: 'PCATEGORIE' is deprecated and gets removed in the future.${COLDEFAULT}"
25   echo -e "${COLYELLOW}         Please modify this smage2 script to use the 'PCAT' variable.${COLDEFAULT}"   echo -e "${COLYELLOW}         Please modify this smage2 script to use the 'PCAT' variable.${COLDEFAULT}"
# Line 812  regen_mage_tree() Line 813  regen_mage_tree()
813   # get the right variables for the split   # get the right variables for the split
814   export PNAME="${subpackage}"   export PNAME="${subpackage}"
815   split_info_${subpackage}   split_info_${subpackage}
816     # fix PCATEGORIE -> PCAT
817     if [[ ! -z ${PCATEGORIE} ]]
818     then
819     PCAT="${PCATEGORIE}"
820     unset PCATEGORIE
821     fi
822   # get the preinstall etc   # get the preinstall etc
823   split_export_inherits ${subpackage}   split_export_inherits ${subpackage}
824   build_mage_script --split-pkg-base "${split_pkg_base}"   build_mage_script --split-pkg-base "${split_pkg_base}"

Legend:
Removed from v.1650  
changed lines
  Added in v.1651