Treat NetBSD the same as FreeBSD and OpenBSD in 'stat' explorers

remotes/origin/4.0
Jonathan A. Kollasch 9 years ago
parent 68370db5c3
commit 185d7f593a
  1. 2
      cdist/conf/type/__ccollect_source/explorer/stat
  2. 2
      cdist/conf/type/__directory/explorer/stat
  3. 2
      cdist/conf/type/__file/explorer/stat

@ -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…
Cancel
Save