Fix: adduser instead of useradd in postinst
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
c48987be89
commit
3cfacb03fb
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue