From 295a8e85cd56fc04bab14665ca9179a606db1218 Mon Sep 17 00:00:00 2001 From: Oleg Borodin Date: Sat, 4 Oct 2025 22:34:26 +0200 Subject: [PATCH] added gite --- devel/gitea/files/pkg-install.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/gitea/files/pkg-install.in b/devel/gitea/files/pkg-install.in index 11c12b03..e5d43fb2 100644 --- a/devel/gitea/files/pkg-install.in +++ b/devel/gitea/files/pkg-install.in @@ -12,13 +12,13 @@ OWNER="%%GITEA_OWNER%%" GROUP_ID="%%GITEA_GROUP_ID%%" OWNER_ID="%%GITEA_OWNER_ID%%" -PKG_PREFIX="/notexist" +PKG_HOME="/home/gitea" case $2 in PRE-INSTALL) pw group add ${GROUP} -g ${GROUP_ID} pw user add ${OWNER} -u ${OWNER_ID} -g ${GROUP} \ - -d ${PKG_PREFIX} -s "/usr/sbin/nologin" -c "gitea" + -d ${PKG_HOME} -s "/bin/sh" -c "gitea" pw group mod ${GROUP} -M ${OWNER} pw group show ${GROUP} pw user show ${OWNER}