[__unpack] add --onchange

This commit is contained in:
ander 2020-08-18 00:46:07 +03:00
parent 8f94a226c7
commit 502d753047
3 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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
-------- --------

View file

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