0
1
Fork 0
hedera-web-mindshore/debian/postinst

19 lines
448 B
Bash
Executable File

#!/bin/bash
set -e
(cd /usr/share/hedera-web && npm install --production)
/usr/share/hedera-web/utils/update-browscap.sh > /dev/null
if [ -e /usr/share/apache2/apache2-maintscript-helper ]
then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod rewrite
apache2_invoke enmod headers
apache2_invoke enmod authnz_ldap
apache2_invoke enconf hedera-web.conf
fi
#service php7.3-fpm restart
#service cron restart