52112cde87
Sometimes operators need to tweak the nginx config. They should not modify config files provided by the packages. Instead they should add their own config files in `/etc/bigbluebutton/nginx/`. This patch links the default config provided by packages into this directory.
18 lines
492 B
Bash
18 lines
492 B
Bash
#!/bin/bash -e
|
|
|
|
case "$1" in
|
|
remove|failed-upgrade|abort-upgrade|abort-install|disappear)
|
|
;;
|
|
purge)
|
|
# remove file deployed by after-install script if it is still a symlink
|
|
if [ "x$(readlink -f /etc/bigbluebutton/nginx/include_default.nginx)" = x/usr/share/bigbluebutton/include_default.nginx ] ; then
|
|
rm /etc/bigbluebutton/nginx/include_default.nginx
|
|
fi
|
|
;;
|
|
upgrade)
|
|
;;
|
|
*)
|
|
echo "postinst called with unknown argument \`\$1'" >&2
|
|
;;
|
|
esac
|