Skip to content

Commit

Permalink
Fixing : admin gid uid auto detection
Browse files Browse the repository at this point in the history
  • Loading branch information
EndMove committed Oct 11, 2022
1 parent e6f6240 commit 763edd9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CONTROL/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version: 1.17.2.r02
- Fix multi volume support by jonmseaman.
- Fix admin gid, uid auto detection.

Version: 1.17.2.r01
- Update Gitea to 1.17.2, release notes (https://github.com/go-gitea/gitea/releases/tag/v1.17.2).
- Update to docker 20.10.17.r1
Expand Down
2 changes: 1 addition & 1 deletion CONTROL/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"general":{
"package":"gitea-docker",
"name":"Gitea",
"version":"1.17.2.r01",
"version":"1.17.2.r02",
"depends":[
"docker-ce(>=20.10.17.r1)"
],
Expand Down
6 changes: 3 additions & 3 deletions CONTROL/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ echo "gitea-adm: --== post-install ==--"
GITEA_VERSION=$(cat $APKG_PKG_DIR/gitea_version)
GITEA_DATA_PATH='/share/Docker/Gitea'
GITEA_CONFIG_PATH='/gitea/conf'
GITEA_CONTAINER=Gitea
GITEA_UID=999
GITEA_GID=999
GITEA_CONTAINER='Gitea'
GITEA_UID=$(id -u 'admin')
GITEA_GID=$(id -g 'admin')

# Checking the configuration to install according to the user's settings
if [ -d ${GITEA_DATA_PATH}${GITEA_CONFIG_PATH} ]; then
Expand Down
2 changes: 1 addition & 1 deletion CONTROL/start-stop.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# Environment variable
GITEA_CONTAINER=Gitea
GITEA_CONTAINER='Gitea'

case "$1" in
start)
Expand Down

0 comments on commit 763edd9

Please sign in to comment.