Merge branch '__unpack_onchange' into 'master'

[__unpack] add --onchange

See merge request ungleich-public/cdist!928
This commit is contained in:
poljakowski 2020-08-18 10:59:55 +02:00
commit 52b75e513f
3 changed files with 9 additions and 0 deletions

View file

@ -80,3 +80,8 @@ if [ ! -f "$__object/parameter/preserve-archive" ]
then
echo "rm -f '$src'"
fi
if [ -f "$__object/parameter/onchange" ]
then
cat "$__object/parameter/onchange"
fi

View file

@ -50,6 +50,9 @@ backup-destination
preserve-archive
Don't delete archive after unpacking.
onchange
Execute this command after unpack.
EXAMPLES
--------

View file

@ -1,3 +1,4 @@
sum-file
tar-strip
tar-extra-args
onchange