Merge branch 'master' into 4.0-pre-not-stable
This commit is contained in:
commit
ff897bc904
5 changed files with 104 additions and 4 deletions
|
|
@ -24,6 +24,9 @@
|
|||
__package git --state present
|
||||
|
||||
state_should="$(cat "$__object/parameter/state")"
|
||||
owner="$(cat "$__object/parameter/owner")"
|
||||
group="$(cat "$__object/parameter/group")"
|
||||
mode="$(cat "$__object/parameter/mode")"
|
||||
|
||||
# Let __directory handle removal of git repos
|
||||
|
||||
|
|
@ -33,7 +36,10 @@ case "$state_should" in
|
|||
;;
|
||||
|
||||
absent)
|
||||
__directory "$__object_id" --state absent
|
||||
__directory "$__object_id" --state absent \
|
||||
--owner "$owner" \
|
||||
--group "$group" \
|
||||
--mode "$mode"
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue