2023-07-18 04:26:07 +08:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
remove|failed-upgrade|abort-upgrade|abort-install|disappear|0|1)
|
|
|
|
|
|
|
|
;;
|
|
|
|
purge)
|
|
|
|
# remove
|
|
|
|
rm -rf /usr/local/bin/bbb-graphql-middleware
|
2023-07-19 23:28:44 +08:00
|
|
|
rm -rf /usr/share/bbb-graphql-middleware
|
2023-07-18 04:26:07 +08:00
|
|
|
;;
|
|
|
|
upgrade)
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "postinst called with unknown argument $1" >&2
|
|
|
|
;;
|
|
|
|
esac
|