Changeset 251
- Timestamp:
- Jun 25, 2018, 1:14:50 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nagios-velvice/make-package-debian
r249 r251 13 13 # Set Version 14 14 VELVICE_VERSION=$(grep 'version->declare' velvice.cgi | cut -f 2 -d "'") #' 15 LOCAL_VERSION= 115 LOCAL_VERSION=2 16 16 17 17 # Create future tree … … 24 24 cp velvice.cgi ${tmp_folder}/usr/lib/cgi-bin/nagios3/ 25 25 cp velvice.sample.yml ${tmp_folder}/etc/nagios3/ 26 chmod ugo+rx ${tmp_folder}/usr/lib/cgi-bin/nagios3/velvice.cgi 27 chmod -R a+rX,go-w ${tmp_folder}/usr 28 chmod -R a+rX,go-w ${tmp_folder}/etc 26 29 27 30 # Data archive 28 31 rm -f ${tmp_folder}/data.tar.gz 29 (cd ${tmp_folder}; tar czf data.tar.gz ./usr ./etc)32 (cd ${tmp_folder}; tar --owner root --group root czf data.tar.gz ./usr ./etc) 30 33 31 34 # Control file … … 48 51 # Control archive 49 52 rm -f ${tmp_folder}/control.tar.gz 50 (cd ${tmp_folder}; tar czf control.tar.gz control)53 (cd ${tmp_folder}; tar --owner root --group root czf control.tar.gz control) 51 54 52 55 # Format deb package
Note: See TracChangeset
for help on using the changeset viewer.