Ensure postinst and prerm always succeed
This commit is contained in:
parent
c54f66efa8
commit
dbfa339cfb
|
@ -4,3 +4,5 @@
|
||||||
if [ -d /etc/bash_completion.d ]; then
|
if [ -d /etc/bash_completion.d ]; then
|
||||||
_PVC_COMPLETE=source_bash pvc > /etc/bash_completion.d/pvc
|
_PVC_COMPLETE=source_bash pvc > /etc/bash_completion.d/pvc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
|
@ -4,3 +4,5 @@
|
||||||
if [ -f /etc/bash_completion.d/pvc ]; then
|
if [ -f /etc/bash_completion.d/pvc ]; then
|
||||||
rm -f /etc/bash_completion.d/pvc
|
rm -f /etc/bash_completion.d/pvc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue