remove path from pidof
This commit is contained in:
		
							parent
							
								
									6754ae7828
								
							
						
					
					
						commit
						5992785d51
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										1
									
								
								debian/changelog
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/changelog
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -7,6 +7,7 @@ ps-watcher (1.08-1) unstable; urgency=low
 | 
			
		|||
  * moved initscritps to S99 and K01, thanks Tim Miller Dyck (Closes: #508189)
 | 
			
		||||
  * created NEWS.Debian
 | 
			
		||||
  * bump standards version to 3.8.2 (no changes needed)
 | 
			
		||||
  * calling pidof in preinst without absolut path
 | 
			
		||||
 | 
			
		||||
 -- Jan Wagner <waja@cyconet.org>  Fri, 24 Jul 2009 19:12:00 +0200
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								debian/preinst
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								debian/preinst
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -3,6 +3,6 @@ set -e
 | 
			
		|||
 | 
			
		||||
# generate correct pid file, for versions where was non or incorrect
 | 
			
		||||
if [ "$1" = "upgrade" ] && [ "$2" ] && dpkg --compare-versions "$2" <= "1.06-6"; then
 | 
			
		||||
	/bin/pidof ps-watcher > /var/run/ps-watcher.pid
 | 
			
		||||
	pidof ps-watcher > /var/run/ps-watcher.pid
 | 
			
		||||
fi
 | 
			
		||||
#DEBHELPER#
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue