Skip to content
Snippets Groups Projects
Commit 69e56f44 authored by Bob Mottram's avatar Bob Mottram
Browse files

Set gogs permissions after upgrade

parent 70f7e739
No related branches found
No related tags found
No related merge requests found
......@@ -210,6 +210,7 @@ function upgrade_gogs {
exit 873535
fi
rm $INSTALL_DIR/gogs_config.ini
chown -R ${GOGS_USERNAME}:${GOGS_USERNAME} /home/${GOGS_USERNAME}
sed -i "s|gogs version.*|gogs version:$GOGS_VERSION|g" ${COMPLETION_FILE}
systemctl restart mariadb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment