[__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
|
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