mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-21 21:26:16 +01:00
update goreleaser (#1677)
This commit is contained in:
@@ -158,9 +158,7 @@ nfpms:
|
|||||||
- debconf
|
- debconf
|
||||||
scripts:
|
scripts:
|
||||||
templates: ./supplemental/debian/templates
|
templates: ./supplemental/debian/templates
|
||||||
# Currently broken due to a bug in goreleaser
|
config: ./supplemental/debian/config.sh
|
||||||
# https://github.com/goreleaser/goreleaser/issues/5487
|
|
||||||
#config: ./supplemental/debian/config.sh
|
|
||||||
|
|
||||||
scoops:
|
scoops:
|
||||||
- ids: [beszel-agent]
|
- ids: [beszel-agent]
|
||||||
|
|||||||
@@ -9,13 +9,6 @@ SERVICE_USER=beszel
|
|||||||
|
|
||||||
. /usr/share/debconf/confmodule
|
. /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
|
# Create group and user
|
||||||
if ! getent group "$SERVICE_USER" >/dev/null; then
|
if ! getent group "$SERVICE_USER" >/dev/null; then
|
||||||
echo "Creating $SERVICE_USER group"
|
echo "Creating $SERVICE_USER group"
|
||||||
|
|||||||
Reference in New Issue
Block a user