fix: adduser with '--group' to create group together
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
leafee98 2024-01-30 16:55:08 +08:00
parent b962501d08
commit 82200e1ab6
7 changed files with 14 additions and 14 deletions

View file

@ -3,7 +3,7 @@
pkgname="dufs"
arch="amd64"
pkgver="0.39.0"
pkgrel=2
pkgrel=3
pkgdesc="A file server that supports static serving, uploading, searching, accessing control, webdav..."
url="https://github.com/sigoden/dufs"
maintainer="Leafee98 <me@leafee98.com>"
@ -25,7 +25,7 @@ function package {
function debian_postinst {
cat << EOF
#!/usr/bin/env bash
adduser --system dufs
adduser --system --group dufs
mkdir -p /srv/dufs
chown dufs:dufs -R /srv/dufs

View file

@ -3,7 +3,7 @@
pkgname="filebrowser"
arch="amd64"
pkgver="2.27.0"
pkgrel=1
pkgrel=2
pkgdesc="Web File Browser"
maintainer="Leafee98 <me@leafee98.com>"
url="https://github.com/filebrowser/filebrowser"
@ -29,7 +29,7 @@ function package {
function debian_postinst {
cat << EOF
#!/usr/bin/env bash
adduser --system filebrowser
adduser --system --group filebrowser
systemctl daemon-reload

View file

@ -2,7 +2,7 @@
pkgname="forgejo"
arch="amd64"
pkgrel=0
pkgrel=1
pkgver="1.21.4-0"
pkgdesc="A painless selfhost git service."
url="https://codeberg.org/forgejo/forgejo"
@ -29,7 +29,7 @@ mkdir -p /var/lib/forgejo
mkdir -p /etc/forgejo/conf
touch /etc/forgejo/conf/app.ini
adduser --system git
adduser --system --group git
chown -R git:git /var/lib/forgejo
systemctl daemon-reload

View file

@ -2,7 +2,7 @@
pkgname="plik-bin"
arch="amd64"
pkgrel=5
pkgrel=6
pkgver="1.3.8"
pkgdesc="Plik is a temporary file upload system (Wetransfer like) in Go."
_arch="amd64"
@ -29,7 +29,7 @@ function package {
function debian_postinst {
cat << EOF
#!/usr/bin/env bash
adduser --system plik
adduser --system --group plik
systemctl daemon-reload
if systemctl is-active --quiet plikd.service ; then

View file

@ -2,7 +2,7 @@
pkgname="remark42"
pkgver=1.12.0
pkgrel=4
pkgrel=5
arch="amd64"
pkgcommit=""
section="utils"
@ -30,7 +30,7 @@ function debian_postinst {
cat << EOF
#!/usr/bin/env bash
touch /etc/default/remark42
adduser --system remark42
adduser --system --group remark42
systemctl daemon-reload
if systemctl is-active --quiet remark42.service ; then

View file

@ -2,7 +2,7 @@
pkgname="matrix-media-repo"
arch="amd64"
pkgrel=1
pkgrel=2
pkgver=1.3.3.56.gcc7e9e5
pkgdesc="matrix-media-repo (aka MMR) is a highly customizable multi-domain media repository for Matrix."
url="https://github.com/t2bot/matrix-media-repo"
@ -39,7 +39,7 @@ function debian_postinst {
#!/usr/bin/env bash
service_name="matrix-media-repo.service"
adduser --system matrix-media-repo
adduser --system --group matrix-media-repo
systemctl daemon-reload

View file

@ -2,7 +2,7 @@
pkgname="dendrite"
arch="amd64"
pkgrel=1
pkgrel=2
pkgver="0.13.6"
pkgdesc="Dendrite is a second-generation Matrix homeserver written in Go!"
url="https://github.com/matrix-org/dendrite"
@ -34,7 +34,7 @@ function debian_postinst {
cat << 'EOF'
#!/usr/bin/env bash
adduser --system dendrite
adduser --system --group dendrite
systemctl daemon-reload