Merge branch '__unpack_onchange' into 'master'
[__unpack] add --onchange See merge request ungleich-public/cdist!928
This commit is contained in:
commit
52b75e513f
3 changed files with 9 additions and 0 deletions
|
@ -80,3 +80,8 @@ if [ ! -f "$__object/parameter/preserve-archive" ]
|
||||||
then
|
then
|
||||||
echo "rm -f '$src'"
|
echo "rm -f '$src'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "$__object/parameter/onchange" ]
|
||||||
|
then
|
||||||
|
cat "$__object/parameter/onchange"
|
||||||
|
fi
|
||||||
|
|
|
@ -50,6 +50,9 @@ backup-destination
|
||||||
preserve-archive
|
preserve-archive
|
||||||
Don't delete archive after unpacking.
|
Don't delete archive after unpacking.
|
||||||
|
|
||||||
|
onchange
|
||||||
|
Execute this command after unpack.
|
||||||
|
|
||||||
|
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
sum-file
|
sum-file
|
||||||
tar-strip
|
tar-strip
|
||||||
tar-extra-args
|
tar-extra-args
|
||||||
|
onchange
|
||||||
|
|
Loading…
Reference in a new issue