okay, this one does it, really
This commit is contained in:
		
							parent
							
								
									f0bf0b77eb
								
							
						
					
					
						commit
						c2bfddce96
					
				
					 2 changed files with 7 additions and 4 deletions
				
			
		
							
								
								
									
										3
									
								
								debian/functions
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								debian/functions
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,5 +1,7 @@
 | 
			
		|||
# functions for use by nagios plugins maintainer scripts
 | 
			
		||||
 | 
			
		||||
set -x
 | 
			
		||||
 | 
			
		||||
npconfdir=/etc/nagios-plugins/config
 | 
			
		||||
npdpkgdir=/usr/share/nagios-plugins/dpkg
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -29,3 +31,4 @@ register_cfgs(){
 | 
			
		|||
		);
 | 
			
		||||
	fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										8
									
								
								debian/rules
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								debian/rules
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -151,10 +151,10 @@ install: build
 | 
			
		|||
	sed -e 's/@STD_PLUGINS@/${std_plugin_cfgs}/' \
 | 
			
		||||
		< $(DEBIANDIR)/nagios-plugins-standard.postrm.in \
 | 
			
		||||
		> $(DEBIANDIR)/nagios-plugins-standard.postrm
 | 
			
		||||
	# copy our dpkg-sourced functions into place
 | 
			
		||||
	install -m 644 -D $(DEBIANDIR)/functions $(DEBIANDIR)/sarge.md5sums \
 | 
			
		||||
		${NP_BASIC_DIR}/usr/share/nagios-plugins/dpkg/functions
 | 
			
		||||
 | 
			
		||||
	# copy our dpkg-sourced functions etc into place
 | 
			
		||||
	mkdir -p ${NP_BASIC_DIR}/usr/share/nagios-plugins/dpkg
 | 
			
		||||
	install -t ${NP_BASIC_DIR}/usr/share/nagios-plugins/dpkg \
 | 
			
		||||
		$(DEBIANDIR)/functions $(DEBIANDIR)/sarge.md5sums
 | 
			
		||||
 | 
			
		||||
# Build architecture-independent files here.
 | 
			
		||||
binary-indep: build install
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue