fix: don't overwrite ownergroup but append

This commit is contained in:
Christian Kruse 2016-02-18 11:02:32 +01:00
parent b9280f1ea7
commit d1d065a3e1

View file

@ -29,7 +29,7 @@ if [ -f "$__object/parameter/owner" ]; then
ownergroup=$(cat "$__object/parameter/owner")
fi
if [ -f "$__object/parameter/group" ]; then
ownergroup=":$(cat "$__object/parameter/group")"
ownergroup="${ownergroup}:$(cat "$__object/parameter/group")"
fi
if [ "$ownergroup" ]; then