Bob Mottram 8 lat temu
rodzic
commit
426c2c2816
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      src/freedombone-app-gogs

+ 2
- 2
src/freedombone-app-gogs Wyświetl plik

@@ -137,7 +137,7 @@ function upgrade_gogs {
137 137
             exit 37836
138 138
         else
139 139
             apt-get -y install unzip
140
-            unzip ${GOGS_FILE}
140
+            unzip -o ${GOGS_FILE}
141 141
         fi
142 142
     else
143 143
         tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
@@ -369,7 +369,7 @@ function install_gogs {
369 369
             exit 37836
370 370
         else
371 371
             apt-get -y install unzip
372
-            unzip ${GOGS_FILE}
372
+            unzip -o ${GOGS_FILE}
373 373
         fi
374 374
     else
375 375
         tar -xzf ${INSTALL_DIR}/${GOGS_FILE}