forked from ungleich-public/cdist
		
	change find args
This commit is contained in:
		
					parent
					
						
							
								4ddbf1e411
							
						
					
				
			
			
				commit
				
					
						50186d13c9
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#!/bin/sh -e
 | 
			
		||||
 | 
			
		||||
if [ ! -d /var/lib/apt/lists ] \
 | 
			
		||||
    || [ -n "$( find /etc/apt -mindepth 1 -cnewer /var/lib/apt/lists )" ] \
 | 
			
		||||
    || [ -n "$( find /etc/apt -newer /var/lib/apt/lists )" ] \
 | 
			
		||||
    || [ ! -f /var/cache/apt/pkgcache.bin ] \
 | 
			
		||||
    || [ "$( stat --format %Y /var/cache/apt/pkgcache.bin )" -lt "$( date +%s -d '-1 day' )" ]
 | 
			
		||||
then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue