diff --git a/.goreleaser.yml b/.goreleaser.yml index c14f6e5d..3ad7eafc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -158,9 +158,7 @@ nfpms: - debconf scripts: templates: ./supplemental/debian/templates - # Currently broken due to a bug in goreleaser - # https://github.com/goreleaser/goreleaser/issues/5487 - #config: ./supplemental/debian/config.sh + config: ./supplemental/debian/config.sh scoops: - ids: [beszel-agent] diff --git a/supplemental/debian/postinstall.sh b/supplemental/debian/postinstall.sh index 8f8849ba..2391979a 100644 --- a/supplemental/debian/postinstall.sh +++ b/supplemental/debian/postinstall.sh @@ -9,13 +9,6 @@ SERVICE_USER=beszel . /usr/share/debconf/confmodule -# This would normally be in the config control file, however this is currently -# broken in goreleaser. Temporarily do it here. -# https://github.com/goreleaser/goreleaser/issues/5487 -db_version 2.0 -db_input high beszel-agent/key || true -db_go - # Create group and user if ! getent group "$SERVICE_USER" >/dev/null; then echo "Creating $SERVICE_USER group"