Bob Mottram 8 лет назад
Родитель
Сommit
426c2c2816
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      src/freedombone-app-gogs

+ 2
- 2
src/freedombone-app-gogs Просмотреть файл

@@ -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}