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

Files in gogs home

parent 426c2c28
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ function upgrade_gogs {
if [ ! -d $INSTALL_DIR/gogs ]; then
exit 37823
fi
cp -r $INSTALL_DIR/gogs /home/$GOGS_USERNAME
cp -r $INSTALL_DIR/gogs/* /home/$GOGS_USERNAME
if [ -f ${GOGS_FILE} ]; then
rm ${GOGS_FILE}
fi
......@@ -377,7 +377,7 @@ function install_gogs {
if [ ! -d $INSTALL_DIR/gogs ]; then
exit 37823
fi
cp -r $INSTALL_DIR/gogs /home/$GOGS_USERNAME
cp -r $INSTALL_DIR/gogs/* /home/$GOGS_USERNAME
if [ -f ${GOGS_FILE} ]; then
rm ${GOGS_FILE}
fi
......
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