2010-05-20 15:42:47 +02:00
|
|
|
#!/bin/bash
|
2011-12-21 12:38:57 +01:00
|
|
|
source build_vars.sh
|
2010-05-20 15:42:47 +02:00
|
|
|
|
2010-12-23 13:34:02 +01:00
|
|
|
if [ ! -d $RPMHOME/DEB ]; then
|
|
|
|
mkdir -p $RPMHOME/DEB || exit 1
|
|
|
|
fi
|
2010-05-20 15:42:47 +02:00
|
|
|
|
|
|
|
echo "Creating DEB packages in $RPMHOME/DEB"
|
2010-12-23 13:34:02 +01:00
|
|
|
|
|
|
|
# Console
|
|
|
|
cd $CODEHOME/pandora_console/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1
|
|
|
|
|
|
|
|
# Server
|
|
|
|
cd $CODEHOME/pandora_server/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1
|
|
|
|
|
|
|
|
# Unix agent
|
|
|
|
cd $CODEHOME/pandora_agents/unix/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1
|
|
|
|
|
|
|
|
# Enterprise console
|
2011-12-21 12:38:57 +01:00
|
|
|
cd $PANDHOME_ENT/pandora_console/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1
|
2010-12-23 13:34:02 +01:00
|
|
|
|
|
|
|
# Enterprise server
|
2011-12-21 12:38:57 +01:00
|
|
|
cd $PANDHOME_ENT/pandora_server/PandoraFMS-Enterprise/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1
|
2010-12-23 13:34:02 +01:00
|
|
|
|
|
|
|
exit 0
|
2010-12-21 13:14:15 +01:00
|
|
|
|