Bob Mottram 9 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
             exit 37836
137
             exit 37836
138
         else
138
         else
139
             apt-get -y install unzip
139
             apt-get -y install unzip
140
-            unzip ${GOGS_FILE}
140
+            unzip -o ${GOGS_FILE}
141
         fi
141
         fi
142
     else
142
     else
143
         tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
143
         tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
369
             exit 37836
369
             exit 37836
370
         else
370
         else
371
             apt-get -y install unzip
371
             apt-get -y install unzip
372
-            unzip ${GOGS_FILE}
372
+            unzip -o ${GOGS_FILE}
373
         fi
373
         fi
374
     else
374
     else
375
         tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
375
         tar -xzf ${INSTALL_DIR}/${GOGS_FILE}