Fix: adduser instead of useradd in postinst
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
leafee98 2023-08-18 20:30:03 +08:00
parent c48987be89
commit 3cfacb03fb

View file

@ -2,7 +2,7 @@
pkgname="remark42" pkgname="remark42"
pkgver=1.12.0 pkgver=1.12.0
pkgrel=2 pkgrel=3
arch="amd64" arch="amd64"
pkgcommit="" pkgcommit=""
section="utils" section="utils"
@ -28,7 +28,8 @@ function package {
function debian_postinst { function debian_postinst {
cat << EOF cat << EOF
#!/usr/bin/env bash
touch /etc/default/remark42 touch /etc/default/remark42
useradd --system remark42 adduser --system remark42
EOF EOF
} }