--- trunk/mage/usr/lib/mage/smage2.functions.sh 2012/01/13 21:05:41 1650 +++ trunk/mage/usr/lib/mage/smage2.functions.sh 2012/01/13 22:26:20 1651 @@ -19,6 +19,7 @@ if [[ -n ${PCATEGORIE} ]] then PCAT="${PCATEGORIE}" + unset PCATEGORIE # print a warning echo -e "${COLYELLOW}Warning: 'PCATEGORIE' is deprecated and gets removed in the future.${COLDEFAULT}" echo -e "${COLYELLOW} Please modify this smage2 script to use the 'PCAT' variable.${COLDEFAULT}" @@ -812,6 +813,12 @@ # get the right variables for the split export PNAME="${subpackage}" split_info_${subpackage} + # fix PCATEGORIE -> PCAT + if [[ ! -z ${PCATEGORIE} ]] + then + PCAT="${PCATEGORIE}" + unset PCATEGORIE + fi # get the preinstall etc split_export_inherits ${subpackage} build_mage_script --split-pkg-base "${split_pkg_base}"