Changeset 244


Ignore:
Timestamp:
Jun 23, 2018, 5:15:06 PM (2 years ago)
Author:
g7moreau
Message:
  • Add version and debug pkg script
Location:
trunk/nagios-velvice
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/nagios-velvice/make-package-debian

    r243 r244  
    1212
    1313# Set Version
    14 VELVICE_VERSION=$(grep 'version->declare' nagios3-velvice | cut -f 2 -d "'") #'
     14VELVICE_VERSION=$(grep 'version->declare' velvice.cgi | cut -f 2 -d "'") #'
    1515LOCAL_VERSION=1
    1616
     
    1818mkdir -p ${tmp_folder}/etc/nagios3
    1919mkdir -p ${tmp_folder}/usr/lib/cgi-bin/nagios3
    20 mkdir -p ${tmp_folder}/usr/share/doc/nagios3-velvice/
     20mkdir -p ${tmp_folder}/usr/share/doc/nagios3-velvice
    2121mkdir -p ${tmp_folder}/usr/share/man/man1
    22 cp velvice.cgi                ${tmp_folder}/usr/lib/cgi-bin/nagios3/
    23 cp velvice.1.gz               ${tmp_folder}/usr/share/man/man1/
    24 cp LICENSE.txt                ${tmp_folder}/usr/share/doc/nagios3-velvice/
    25 cp config.sample.yml          ${tmp_folder}/etc/nagios3/
     22cp LICENSE.txt          ${tmp_folder}/usr/share/doc/nagios3-velvice/
     23cp velvice.1.gz         ${tmp_folder}/usr/share/man/man1/
     24cp velvice.cgi          ${tmp_folder}/usr/lib/cgi-bin/nagios3/
     25cp velvice.sample.yml   ${tmp_folder}/etc/nagios3/
    2626
    2727# Data archive
  • trunk/nagios-velvice/velvice.cgi

    r241 r244  
    1414use strict;
    1515use warnings;
     16use version; our $VERSION = version->declare('0.5.1');
    1617
    1718use CGI;
Note: See TracChangeset for help on using the changeset viewer.