mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
2010-12-13 Miguel de Dios <miguel.dedios@artica.es>
* PandoraFMS-Enterprise/DEBIAN/*: add scripts and conf files to make a deb package. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
cca5c4a8d6
commit
8f55e25e50
@ -14,7 +14,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
pandora_console_version="3.0.0"
|
pandora_server_version="3.0.0"
|
||||||
|
|
||||||
echo "This script to make deb must run as root (because the dh-make-perl need this). Then test if you are root."
|
echo "This script to make deb must run as root (because the dh-make-perl need this). Then test if you are root."
|
||||||
if [ `id -u` != 0 ]
|
if [ `id -u` != 0 ]
|
||||||
@ -100,8 +100,8 @@ echo "END"
|
|||||||
|
|
||||||
echo "Make the package \"Pandorafms server\"."
|
echo "Make the package \"Pandorafms server\"."
|
||||||
dpkg-deb --build temp_package
|
dpkg-deb --build temp_package
|
||||||
mv temp_package.deb pandorafms.server_enterprise_$pandora_console_version.deb
|
mv temp_package.deb pandorafms.server_enterprise_$pandora_server_version.deb
|
||||||
chmod 777 pandorafms.server_enterprise_$pandora_console_version.deb
|
chmod 777 pandorafms.server_enterprise_$pandora_server_version.deb
|
||||||
|
|
||||||
echo "Delete the \"temp_package\" temp dir for job."
|
echo "Delete the \"temp_package\" temp dir for job."
|
||||||
rm Makefile
|
rm Makefile
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
|
@ -1 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user