diff --git a/alumnihub/DEBIAN/postinst b/alumnihub/DEBIAN/postinst index 29aff8c..51cf31e 100755 --- a/alumnihub/DEBIAN/postinst +++ b/alumnihub/DEBIAN/postinst @@ -1,4 +1,8 @@ #!/bin/bash adduser --system alumnihub -chown -R alumnihub:root /opt/alumnihub \ No newline at end of file +chown -R alumnihub:root /opt/alumnihub + +if [ -e /opt/alumnihub/appsettings.json ]; then + cp /opt/alumnihub/appsettings.release.json /opt/alumnihub/appsettings.json +fi diff --git a/run-build.sh b/run-build.sh index ce0ade8..e03d247 100755 --- a/run-build.sh +++ b/run-build.sh @@ -24,6 +24,8 @@ done cp -r ./oqtane.framework/Oqtane.Server/Packages ./alumnihub/opt/alumnihub/Packages +rm ./alumnihub/opt/alumnihub/appsettings.json + echo $VERSION $DEBIAN_PACKAGE_PATH echo "Version: ${VERSION}" >> $DEBIAN_PACKAGE_PATH/DEBIAN/control