[directory] add alpine support

This commit is contained in:
Nico Schottelius 2019-04-15 19:27:42 +02:00
parent 1722fced72
commit 63d7499b75
2 changed files with 10 additions and 2 deletions

View file

@ -31,9 +31,16 @@ owner: %Du %Su
group: %Dg %Sg group: %Dg %Sg
mode: %Lp %Sp mode: %Lp %Sp
" "$destination" | awk '/^type/ { print tolower($0); next; } { print; }' " "$destination" | awk '/^type/ { print tolower($0); next; } { print; }'
;; ;;
alpine)
stat -c "type: %F
owner: %u %U
group: %g %G
mode: %a %A
" "$destination"
;;
*) *)
stat --printf="type: %F stat --printf="type: %F
owner: %u %U owner: %u %U
group: %g %G group: %g %G
mode: %a %A mode: %a %A

View file

@ -3,6 +3,7 @@ Changelog
next: next:
* Type __package: Add __package_apk support (Nico Schottelius) * Type __package: Add __package_apk support (Nico Schottelius)
* Type __directory: Add alpine support (Nico Schottelius)
* Type __file: Add alpine support (Nico Schottelius) * Type __file: Add alpine support (Nico Schottelius)
* Type __hostname: Add alpine support (Nico Schottelius) * Type __hostname: Add alpine support (Nico Schottelius)
* Type __locale: Add alpine support (Nico Schottelius) * Type __locale: Add alpine support (Nico Schottelius)