2015-07-27 21:07:22 +00:00
|
|
|
#!/bin/bash
|
2016-11-21 21:16:37 +00:00
|
|
|
# postinst script for jitsi-meet-web-config
|
2014-08-10 19:29:48 +00:00
|
|
|
#
|
|
|
|
# see: dh_installdeb(1)
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# summary of how this script can be called:
|
|
|
|
# * <postinst> `configure' <most-recently-configured-version>
|
|
|
|
# * <old-postinst> `abort-upgrade' <new version>
|
|
|
|
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
|
|
|
# <new-version>
|
|
|
|
# * <postinst> `abort-remove'
|
|
|
|
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
|
|
|
# <failed-install-package> <version> `removing'
|
|
|
|
# <conflicting-package> <version>
|
|
|
|
# for details, see http://www.debian.org/doc/debian-policy/ or
|
|
|
|
# the debian-policy package
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
configure)
|
|
|
|
|
2014-10-23 08:00:48 +00:00
|
|
|
# loading debconf
|
|
|
|
. /usr/share/debconf/confmodule
|
|
|
|
|
2016-11-21 21:16:37 +00:00
|
|
|
# try to get host from jitsi-videobridge
|
|
|
|
db_get jitsi-videobridge/jvb-hostname
|
|
|
|
if [ -z "$RET" ] ; then
|
|
|
|
# server hostname
|
|
|
|
db_set jitsi-videobridge/jvb-hostname "localhost"
|
|
|
|
db_input critical jitsi-videobridge/jvb-hostname || true
|
|
|
|
db_go
|
2021-01-04 14:22:27 +00:00
|
|
|
db_get jitsi-videobridge/jvb-hostname
|
2016-11-21 21:16:37 +00:00
|
|
|
fi
|
2021-03-04 11:29:06 +00:00
|
|
|
JVB_HOSTNAME=$(echo "$RET" | xargs echo -n)
|
2016-11-21 21:16:37 +00:00
|
|
|
|
2015-07-27 21:07:22 +00:00
|
|
|
# detect dpkg-reconfigure
|
|
|
|
RECONFIGURING="false"
|
2015-03-16 15:54:36 +00:00
|
|
|
db_get jitsi-meet/jvb-hostname
|
2021-03-04 11:29:06 +00:00
|
|
|
JVB_HOSTNAME_OLD=$(echo "$RET" | xargs echo -n)
|
2015-03-16 15:54:36 +00:00
|
|
|
if [ -n "$RET" ] && [ ! "$JVB_HOSTNAME_OLD" = "$JVB_HOSTNAME" ] ; then
|
2015-07-27 21:07:22 +00:00
|
|
|
RECONFIGURING="true"
|
2015-03-16 15:54:36 +00:00
|
|
|
rm -f /etc/jitsi/meet/$JVB_HOSTNAME_OLD-config.js
|
|
|
|
fi
|
|
|
|
|
2014-10-23 08:00:48 +00:00
|
|
|
# stores the hostname so we will reuse it later, like in purge
|
|
|
|
db_set jitsi-meet/jvb-hostname $JVB_HOSTNAME
|
|
|
|
|
2015-11-09 22:26:13 +00:00
|
|
|
NGINX_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'nginx' 2>/dev/null | awk '{print $3}' || true)"
|
2020-01-09 16:51:27 +00:00
|
|
|
NGINX_FULL_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'nginx-full' 2>/dev/null | awk '{print $3}' || true)"
|
2019-02-14 11:00:59 +00:00
|
|
|
NGINX_EXTRAS_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'nginx-extras' 2>/dev/null | awk '{print $3}' || true)"
|
|
|
|
if [ "$NGINX_INSTALL_CHECK" = "installed" ] \
|
|
|
|
|| [ "$NGINX_INSTALL_CHECK" = "unpacked" ] \
|
2020-01-09 16:51:27 +00:00
|
|
|
|| [ "$NGINX_FULL_INSTALL_CHECK" = "installed" ] \
|
|
|
|
|| [ "$NGINX_FULL_INSTALL_CHECK" = "unpacked" ] \
|
2019-02-14 11:00:59 +00:00
|
|
|
|| [ "$NGINX_EXTRAS_INSTALL_CHECK" = "installed" ] \
|
|
|
|
|| [ "$NGINX_EXTRAS_INSTALL_CHECK" = "unpacked" ] ; then
|
2015-07-30 19:35:37 +00:00
|
|
|
FORCE_NGINX="true"
|
|
|
|
fi
|
2016-11-21 21:16:37 +00:00
|
|
|
APACHE_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'apache2' 2>/dev/null | awk '{print $3}' || true)"
|
|
|
|
if [ "$APACHE_INSTALL_CHECK" = "installed" ] || [ "$APACHE_INSTALL_CHECK" = "unpacked" ] ; then
|
|
|
|
FORCE_APACHE="true"
|
|
|
|
fi
|
2021-01-25 20:28:19 +00:00
|
|
|
# In case user enforces apache and if apache is available, unset nginx.
|
2021-01-26 15:09:46 +00:00
|
|
|
RET=""
|
2021-01-26 14:28:04 +00:00
|
|
|
db_get jitsi-meet/enforce_apache || RET="false"
|
2021-01-26 15:09:46 +00:00
|
|
|
if [ "$RET" = "true" ] && [ "$FORCE_APACHE" = "true" ]; then
|
2021-01-25 20:28:19 +00:00
|
|
|
FORCE_NGINX="false"
|
|
|
|
fi
|
2015-07-30 19:35:37 +00:00
|
|
|
|
2020-03-27 14:07:47 +00:00
|
|
|
UPLOADED_CERT_CHOICE="I want to use my own certificate"
|
2022-09-13 12:55:00 +00:00
|
|
|
LE_CERT_CHOICE="Let's Encrypt certificates"
|
2016-11-21 21:16:37 +00:00
|
|
|
# if first time config ask for certs, or if we are reconfiguring
|
|
|
|
if [ -z "$JVB_HOSTNAME_OLD" ] || [ "$RECONFIGURING" = "true" ] ; then
|
2021-01-26 15:09:46 +00:00
|
|
|
RET=""
|
2022-08-26 19:52:03 +00:00
|
|
|
db_input critical jitsi-meet/cert-choice || true
|
|
|
|
db_go
|
2016-11-21 21:16:37 +00:00
|
|
|
db_get jitsi-meet/cert-choice
|
|
|
|
CERT_CHOICE="$RET"
|
|
|
|
|
2022-09-13 12:55:00 +00:00
|
|
|
if [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ]; then
|
2021-01-26 15:09:46 +00:00
|
|
|
RET=""
|
2016-11-21 21:16:37 +00:00
|
|
|
db_get jitsi-meet/cert-path-key
|
2021-01-04 14:22:27 +00:00
|
|
|
if [ -z "$RET" ] ; then
|
|
|
|
db_set jitsi-meet/cert-path-key "/etc/ssl/$JVB_HOSTNAME.key"
|
|
|
|
db_input critical jitsi-meet/cert-path-key || true
|
|
|
|
db_go
|
|
|
|
db_get jitsi-meet/cert-path-key
|
|
|
|
fi
|
2016-11-21 21:16:37 +00:00
|
|
|
CERT_KEY="$RET"
|
2021-01-26 15:09:46 +00:00
|
|
|
RET=""
|
2016-11-21 21:16:37 +00:00
|
|
|
db_get jitsi-meet/cert-path-crt
|
2021-01-04 14:22:27 +00:00
|
|
|
if [ -z "$RET" ] ; then
|
|
|
|
db_set jitsi-meet/cert-path-crt "/etc/ssl/$JVB_HOSTNAME.crt"
|
|
|
|
db_input critical jitsi-meet/cert-path-crt || true
|
|
|
|
db_go
|
|
|
|
db_get jitsi-meet/cert-path-crt
|
|
|
|
fi
|
2016-11-21 21:16:37 +00:00
|
|
|
CERT_CRT="$RET"
|
|
|
|
else
|
2022-09-13 12:55:00 +00:00
|
|
|
# create self-signed certs (we also need them for the case of LE so we can start nginx)
|
2016-11-21 21:16:37 +00:00
|
|
|
CERT_KEY="/etc/jitsi/meet/$JVB_HOSTNAME.key"
|
|
|
|
CERT_CRT="/etc/jitsi/meet/$JVB_HOSTNAME.crt"
|
|
|
|
HOST="$( (hostname -s; echo localhost) | head -n 1)"
|
|
|
|
DOMAIN="$( (hostname -d; echo localdomain) | head -n 1)"
|
2020-06-23 12:47:36 +00:00
|
|
|
openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj \
|
2016-11-21 21:16:37 +00:00
|
|
|
"/O=$DOMAIN/OU=$HOST/CN=$JVB_HOSTNAME/emailAddress=webmaster@$HOST.$DOMAIN" \
|
|
|
|
-keyout $CERT_KEY \
|
2020-06-23 12:47:36 +00:00
|
|
|
-out $CERT_CRT \
|
|
|
|
-reqexts SAN \
|
|
|
|
-extensions SAN \
|
|
|
|
-config <(cat /etc/ssl/openssl.cnf \
|
2020-07-02 15:30:36 +00:00
|
|
|
<(printf "[SAN]\nsubjectAltName=DNS:localhost,DNS:$JVB_HOSTNAME"))
|
2022-09-13 12:55:00 +00:00
|
|
|
|
|
|
|
if [ "$CERT_CHOICE" = "$LE_CERT_CHOICE" ]; then
|
|
|
|
db_subst jitsi-meet/email domain "${JVB_HOSTNAME}"
|
|
|
|
db_input critical jitsi-meet/email || true
|
|
|
|
db_go
|
|
|
|
db_get jitsi-meet/email
|
|
|
|
EMAIL="$RET"
|
|
|
|
if [ ! -z "$EMAIL" ] ; then
|
|
|
|
ISSUE_LE_CERT="true"
|
|
|
|
fi
|
|
|
|
fi
|
2016-11-21 21:16:37 +00:00
|
|
|
fi
|
|
|
|
fi
|
2014-08-29 12:28:51 +00:00
|
|
|
|
2014-08-10 19:29:48 +00:00
|
|
|
# jitsi meet
|
2014-10-22 15:22:18 +00:00
|
|
|
JITSI_MEET_CONFIG="/etc/jitsi/meet/$JVB_HOSTNAME-config.js"
|
2015-07-27 21:07:22 +00:00
|
|
|
if [ ! -f $JITSI_MEET_CONFIG ] ; then
|
2019-11-17 10:48:06 +00:00
|
|
|
cp /usr/share/jitsi-meet-web-config/config.js $JITSI_MEET_CONFIG
|
2019-12-04 14:59:28 +00:00
|
|
|
# replaces needed config for multidomain as it works only with nginx
|
2020-03-27 14:07:47 +00:00
|
|
|
if [[ "$FORCE_NGINX" = "true" ]] ; then
|
|
|
|
sed -i "s/conference.jitsi-meet.example.com/conference.<\!--# echo var=\"subdomain\" default=\"\" -->jitsi-meet.example.com/g" $JITSI_MEET_CONFIG
|
|
|
|
fi
|
2014-10-22 15:22:18 +00:00
|
|
|
sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" $JITSI_MEET_CONFIG
|
|
|
|
fi
|
2014-08-10 19:29:48 +00:00
|
|
|
|
2022-09-23 18:10:06 +00:00
|
|
|
if [ "$CERT_CHOICE" = "$LE_CERT_CHOICE" ] || [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ]; then
|
2022-09-24 13:24:18 +00:00
|
|
|
# Make sure jaas-choice is not answered already
|
2022-09-23 18:10:06 +00:00
|
|
|
db_get jitsi-meet/jaas-choice
|
|
|
|
JAAS_INPUT="$RET"
|
2022-09-24 13:24:18 +00:00
|
|
|
if [ -z "$JAAS_INPUT" ] ; then
|
|
|
|
db_subst jitsi-meet/jaas-choice domain "${JVB_HOSTNAME}"
|
|
|
|
db_set jitsi-meet/jaas-choice false
|
|
|
|
db_input critical jitsi-meet/jaas-choice || true
|
|
|
|
db_go
|
|
|
|
db_get jitsi-meet/jaas-choice
|
|
|
|
JAAS_INPUT="$RET"
|
|
|
|
fi
|
2022-09-23 18:10:06 +00:00
|
|
|
fi
|
|
|
|
|
2022-08-26 19:52:03 +00:00
|
|
|
if [ "${JAAS_INPUT}" = "true" ] && ! grep -q "^var enableJaaS = true;$" $JITSI_MEET_CONFIG; then
|
|
|
|
if grep -q "^var enableJaaS = false;$" $JITSI_MEET_CONFIG; then
|
|
|
|
sed -i "s/^var enableJaaS = false;$/var enableJaaS = true;/g" $JITSI_MEET_CONFIG
|
|
|
|
else
|
|
|
|
# old config, let's add the lines at the end. Adding var enableJaaS to avoid adding it on update again
|
|
|
|
echo "var enableJaaS = true;" >> $JITSI_MEET_CONFIG
|
|
|
|
echo "config.dialInNumbersUrl = 'https://conference-mapper.jitsi.net/v1/access/dids';" >> $JITSI_MEET_CONFIG
|
|
|
|
echo "config.dialInConfCodeUrl = 'https://conference-mapper.jitsi.net/v1/access';" >> $JITSI_MEET_CONFIG
|
|
|
|
|
|
|
|
# Sets roomPasswordNumberOfDigits only if there was not already set
|
|
|
|
if ! cat $JITSI_MEET_CONFIG | grep roomPasswordNumberOfDigits | grep -qv //; then
|
|
|
|
echo "config.roomPasswordNumberOfDigits = 10; // skip re-adding it (do not remove comment)" >> $JITSI_MEET_CONFIG
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2020-03-27 14:07:47 +00:00
|
|
|
if [[ "$FORCE_NGINX" = "true" && ( -z "$JVB_HOSTNAME_OLD" || "$RECONFIGURING" = "true" ) ]] ; then
|
2019-12-13 10:01:55 +00:00
|
|
|
|
2015-07-27 21:07:22 +00:00
|
|
|
# this is a reconfigure, lets just delete old links
|
|
|
|
if [ "$RECONFIGURING" = "true" ] ; then
|
|
|
|
rm -f /etc/nginx/sites-enabled/$JVB_HOSTNAME_OLD.conf
|
|
|
|
rm -f /etc/jitsi/meet/$JVB_HOSTNAME_OLD-config.js
|
|
|
|
fi
|
|
|
|
|
|
|
|
# nginx conf
|
|
|
|
if [ ! -f /etc/nginx/sites-available/$JVB_HOSTNAME.conf ] ; then
|
2019-11-17 10:48:06 +00:00
|
|
|
cp /usr/share/jitsi-meet-web-config/jitsi-meet.example /etc/nginx/sites-available/$JVB_HOSTNAME.conf
|
2015-07-27 21:07:22 +00:00
|
|
|
if [ ! -f /etc/nginx/sites-enabled/$JVB_HOSTNAME.conf ] ; then
|
|
|
|
ln -s /etc/nginx/sites-available/$JVB_HOSTNAME.conf /etc/nginx/sites-enabled/$JVB_HOSTNAME.conf
|
|
|
|
fi
|
|
|
|
sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /etc/nginx/sites-available/$JVB_HOSTNAME.conf
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ] ; then
|
|
|
|
# replace self-signed certificate paths with user provided ones
|
|
|
|
CERT_KEY_ESC=$(echo $CERT_KEY | sed 's/\./\\\./g')
|
|
|
|
CERT_KEY_ESC=$(echo $CERT_KEY_ESC | sed 's/\//\\\//g')
|
2016-11-21 21:16:37 +00:00
|
|
|
sed -i "s/ssl_certificate_key\ \/etc\/jitsi\/meet\/.*key/ssl_certificate_key\ $CERT_KEY_ESC/g" \
|
2015-07-27 21:07:22 +00:00
|
|
|
/etc/nginx/sites-available/$JVB_HOSTNAME.conf
|
|
|
|
CERT_CRT_ESC=$(echo $CERT_CRT | sed 's/\./\\\./g')
|
|
|
|
CERT_CRT_ESC=$(echo $CERT_CRT_ESC | sed 's/\//\\\//g')
|
2016-11-21 21:16:37 +00:00
|
|
|
sed -i "s/ssl_certificate\ \/etc\/jitsi\/meet\/.*crt/ssl_certificate\ $CERT_CRT_ESC/g" \
|
2015-07-27 21:07:22 +00:00
|
|
|
/etc/nginx/sites-available/$JVB_HOSTNAME.conf
|
|
|
|
fi
|
|
|
|
|
2019-12-02 13:33:35 +00:00
|
|
|
invoke-rc.d nginx reload || true
|
2016-11-21 21:16:37 +00:00
|
|
|
elif [[ "$FORCE_APACHE" = "true" && ( -z "$JVB_HOSTNAME_OLD" || "$RECONFIGURING" = "true" ) ]] ; then
|
2019-12-13 10:01:55 +00:00
|
|
|
|
2016-11-30 05:11:15 +00:00
|
|
|
# this is a reconfigure, lets just delete old links
|
|
|
|
if [ "$RECONFIGURING" = "true" ] ; then
|
|
|
|
a2dissite $JVB_HOSTNAME_OLD.conf
|
|
|
|
rm -f /etc/jitsi/meet/$JVB_HOSTNAME_OLD-config.js
|
|
|
|
fi
|
|
|
|
|
|
|
|
# apache2 config
|
|
|
|
if [ ! -f /etc/apache2/sites-available/$JVB_HOSTNAME.conf ] ; then
|
|
|
|
# when creating new config, make sure all needed modules are enabled
|
2021-02-06 21:08:13 +00:00
|
|
|
a2enmod rewrite ssl headers proxy_http proxy_wstunnel include
|
2019-11-17 10:48:06 +00:00
|
|
|
cp /usr/share/jitsi-meet-web-config/jitsi-meet.example-apache /etc/apache2/sites-available/$JVB_HOSTNAME.conf
|
2016-11-30 05:11:15 +00:00
|
|
|
a2ensite $JVB_HOSTNAME.conf
|
|
|
|
sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /etc/apache2/sites-available/$JVB_HOSTNAME.conf
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ] ; then
|
|
|
|
# replace self-signed certificate paths with user provided ones
|
|
|
|
CERT_KEY_ESC=$(echo $CERT_KEY | sed 's/\./\\\./g')
|
|
|
|
CERT_KEY_ESC=$(echo $CERT_KEY_ESC | sed 's/\//\\\//g')
|
2016-11-30 05:54:19 +00:00
|
|
|
sed -i "s/SSLCertificateKeyFile\ \/etc\/jitsi\/meet\/.*key/SSLCertificateKeyFile\ $CERT_KEY_ESC/g" \
|
2016-11-30 05:11:15 +00:00
|
|
|
/etc/apache2/sites-available/$JVB_HOSTNAME.conf
|
|
|
|
CERT_CRT_ESC=$(echo $CERT_CRT | sed 's/\./\\\./g')
|
|
|
|
CERT_CRT_ESC=$(echo $CERT_CRT_ESC | sed 's/\//\\\//g')
|
2016-11-30 05:54:19 +00:00
|
|
|
sed -i "s/SSLCertificateFile\ \/etc\/jitsi\/meet\/.*crt/SSLCertificateFile\ $CERT_CRT_ESC/g" \
|
2016-11-30 05:11:15 +00:00
|
|
|
/etc/apache2/sites-available/$JVB_HOSTNAME.conf
|
|
|
|
fi
|
|
|
|
|
2019-12-02 13:33:35 +00:00
|
|
|
invoke-rc.d apache2 reload || true
|
2015-07-27 21:07:22 +00:00
|
|
|
fi
|
|
|
|
|
2022-09-21 18:57:30 +00:00
|
|
|
# If scripts fail they will print suggestions for next steps, do not fail install
|
|
|
|
# those can be re-run later
|
|
|
|
# run the scripts only on new install or when re-configuring
|
2022-09-21 21:21:30 +00:00
|
|
|
if [[ "$ISSUE_LE_CERT" = "true" && ( -z "$JVB_HOSTNAME_OLD" || "$RECONFIGURING" = "true" ) ]] ; then
|
2022-09-21 18:57:30 +00:00
|
|
|
/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh $EMAIL $JVB_HOSTNAME || true
|
|
|
|
fi
|
2022-09-22 14:08:32 +00:00
|
|
|
JAAS_REG_ERROR=0
|
2022-09-21 21:21:30 +00:00
|
|
|
if [[ "${JAAS_INPUT}" = "true" && ( -z "$JVB_HOSTNAME_OLD" || "$RECONFIGURING" = "true" ) ]] ; then
|
2022-09-22 14:08:32 +00:00
|
|
|
/usr/share/jitsi-meet/scripts/register-jaas-account.sh $EMAIL $JVB_HOSTNAME || JAAS_REG_ERROR=$?
|
2022-09-13 12:55:00 +00:00
|
|
|
fi
|
|
|
|
|
2017-03-17 19:15:42 +00:00
|
|
|
echo ""
|
|
|
|
echo ""
|
2022-09-13 12:55:00 +00:00
|
|
|
echo " ;dOocd;"
|
|
|
|
echo " .dNMM0dKO."
|
|
|
|
echo " lNMMMKd0K,"
|
|
|
|
echo " .xMMMMNxkNc"
|
|
|
|
echo " dMMMMMkxXc"
|
|
|
|
echo " cNMMMNl.."
|
2022-09-22 14:08:32 +00:00
|
|
|
if [ "${JAAS_INPUT}" != "true" ] || [ ${JAAS_REG_ERROR} -ne 0 ]; then
|
2022-08-26 19:52:03 +00:00
|
|
|
echo " .kMMMX; Interested in adding telephony to your Jitsi meetings?"
|
|
|
|
echo " ;XMMMO'"
|
|
|
|
echo " lNMMWO' Sign up on https://jaas.8x8.vc/components?host=${JVB_HOSTNAME}"
|
|
|
|
echo " lNMMM0, and follow the guide in the dev console."
|
2022-09-13 12:55:00 +00:00
|
|
|
else
|
|
|
|
echo " .kMMMX;"
|
2022-09-22 14:08:32 +00:00
|
|
|
echo " ;XMMMO' Congratulations! Now you can use telephony in your Jitsi meetings!"
|
|
|
|
echo " lNMMWO' We have created a free JaaS (Jitsi as a Service) account for you. "
|
|
|
|
echo " lNMMM0, You can login to https://jaas.8x8.vc/components to check our developer console and your account details."
|
2022-08-26 19:52:03 +00:00
|
|
|
fi
|
2022-09-13 12:55:00 +00:00
|
|
|
echo " lXMMMK:."
|
|
|
|
echo " ;KMMMNKd. 'oo,"
|
|
|
|
echo " 'xNMMMMXkkkkOKOl'"
|
|
|
|
echo " :0WMMMMMMNOkk0Kk,"
|
|
|
|
echo " .cdOWMMMMMWXOkOl"
|
|
|
|
echo " .;dKWMMMMMXc."
|
|
|
|
echo " .,:cll:'"
|
|
|
|
echo ""
|
|
|
|
echo ""
|
2022-08-08 14:50:12 +00:00
|
|
|
|
2014-10-23 08:00:48 +00:00
|
|
|
# and we're done with debconf
|
|
|
|
db_stop
|
2014-08-10 19:29:48 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
# dh_installdeb will replace this with shell code automatically
|
|
|
|
# generated by other debhelper scripts.
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
exit 0
|