From 3361babb547af16530be90c798a955365a9a4172 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 28 Sep 2016 17:52:00 +0100 Subject: [PATCH] Files in gogs home --- src/freedombone-app-gogs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-gogs b/src/freedombone-app-gogs index 95bbfe98..fc5b82f0 100755 --- a/src/freedombone-app-gogs +++ b/src/freedombone-app-gogs @@ -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