diff --git a/src/freedombone-app-gogs b/src/freedombone-app-gogs
index 3c2854e18fd14d531852446187fc23ce73c5fb52..95bbfe98fd87ad59b77010cbed25a65123490fef 100755
--- a/src/freedombone-app-gogs
+++ b/src/freedombone-app-gogs
@@ -137,7 +137,7 @@ function upgrade_gogs {
             exit 37836
         else
             apt-get -y install unzip
-            unzip ${GOGS_FILE}
+            unzip -o ${GOGS_FILE}
         fi
     else
         tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
@@ -369,7 +369,7 @@ function install_gogs {
             exit 37836
         else
             apt-get -y install unzip
-            unzip ${GOGS_FILE}
+            unzip -o ${GOGS_FILE}
         fi
     else
         tar -xzf ${INSTALL_DIR}/${GOGS_FILE}