2023-04-29 01:32:09 +08:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
remove|failed-upgrade|abort-upgrade|abort-install|disappear|0|1)
|
|
|
|
|
|
|
|
;;
|
|
|
|
purge)
|
|
|
|
rm -rf /usr/local/bin/hasura
|
2023-07-18 04:26:07 +08:00
|
|
|
rm -rf /usr/local/bin/hasura-graphql-engine
|
|
|
|
rm -rf /etc/default/bbb-graphql-server
|
2023-04-29 01:32:09 +08:00
|
|
|
;;
|
|
|
|
upgrade)
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "postinst called with unknown argument $1" >&2
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|