Merge "Allow empty uninstall hooks"
This commit is contained in:
commit
424a1c0254
|
@ -50,6 +50,8 @@ ${ postinstall_hook }
|
||||||
# uninstall: 0
|
# uninstall: 0
|
||||||
% if uninstall_hook:
|
% if uninstall_hook:
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
|
# insert no-op to allow empty or comment-only uninstall hooks
|
||||||
|
:
|
||||||
${ uninstall_hook }
|
${ uninstall_hook }
|
||||||
fi
|
fi
|
||||||
% endif
|
% endif
|
||||||
|
|
Loading…
Reference in New Issue