git.sophuwu.com > manhttpd
install script fix
sophuwu sophie@sophuwu.com
Thu, 17 Jul 2025 01:53:54 +0200
commit

5970ede804d63946af983d9eb9300ba13b1bc724

parent

182348cb6e105b8f004ecf654e0b4c238e12948c

2 files changed, 7 insertions(+), 1 deletions(-)

jump to
M extra/nfpm.yamlextra/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.shextra/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