forked from ungleich-public/cdist
		
	Merge pull request #405 from jakllsch/netbsd-explorer-stat
Treat NetBSD the same as FreeBSD and OpenBSD in 'stat' explorers
This commit is contained in:
		
				commit
				
					
						46ef188079
					
				
			
		
					 3 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -25,7 +25,7 @@ destination="/$__object_id"
 | 
			
		|||
 | 
			
		||||
os=$("$__explorer/os")
 | 
			
		||||
case "$os" in
 | 
			
		||||
   "freebsd"|"openbsd")
 | 
			
		||||
   "freebsd"|"netbsd"|"openbsd")
 | 
			
		||||
      # FIXME: should be something like this based on man page, but can not test
 | 
			
		||||
      stat -f "type: %ST
 | 
			
		||||
owner: %Du %Su
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@ destination="/$__object_id"
 | 
			
		|||
 | 
			
		||||
os=$("$__explorer/os")
 | 
			
		||||
case "$os" in
 | 
			
		||||
   "freebsd"|"openbsd")
 | 
			
		||||
   "freebsd"|"netbsd"|"openbsd")
 | 
			
		||||
      # FIXME: should be something like this based on man page, but can not test
 | 
			
		||||
      stat -f "type: %ST
 | 
			
		||||
owner: %Du %Su
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@ destination="/$__object_id"
 | 
			
		|||
 | 
			
		||||
os=$("$__explorer/os")
 | 
			
		||||
case "$os" in
 | 
			
		||||
   "freebsd"|"openbsd")
 | 
			
		||||
   "freebsd"|"netbsd"|"openbsd")
 | 
			
		||||
      # FIXME: should be something like this based on man page, but can not test
 | 
			
		||||
      stat -f "type: %ST
 | 
			
		||||
owner: %Du %Su
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue