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}" |
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}" |