install script fix
sophuwu sophie@sophuwu.com
Thu, 17 Jul 2025 01:53:54 +0200
2 files changed,
7 insertions(+),
1 deletions(-)
M
extra/nfpm.yaml
→
extra/nfpm.yaml
@@ -37,6 +37,9 @@ dst: /usr/bin/manhttpd-passwd
- src: ./manhttpd.service dst: /etc/manhttpd/manhttpd.service type: config +- src: ./manhttpd.conf + dst: /etc/manhttpd/manhttpd.conf + type: config overrides: deb: scripts:
M
extra/preinst.sh
→
extra/preinst.sh
@@ -7,7 +7,10 @@ fi
getent passwd manhttpd > /dev/null if [ $? -ne 0 ]; then - adduser --system --disabled-password --home /var/lib/manhttpd --no-create-home --group manhttpd manhttpd + adduser --system manhttpd + usermod -aG manhttpd manhttpd + usermod --shell /bin/false manhttpd + usermod --home /var/lib/manhttpd manhttpd fi if [ ! -d /var/lib/manhttpd ]; then