[__unpack] add --onchange
This commit is contained in:
parent
8f94a226c7
commit
502d753047
3 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -50,6 +50,9 @@ backup-destination
|
|||
preserve-archive
|
||||
Don't delete archive after unpacking.
|
||||
|
||||
onchange
|
||||
Execute this command after unpack.
|
||||
|
||||
|
||||
EXAMPLES
|
||||
--------
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
sum-file
|
||||
tar-strip
|
||||
tar-extra-args
|
||||
onchange
|
||||
|
|
Loading…
Reference in a new issue