unzip dependency
This commit is contained in:
parent
3e8830eb2a
commit
f01b5f566e
|
@ -130,6 +130,7 @@ function upgrade_gogs {
|
||||||
if [ ! -f linux_${CURR_ARCH}.zip ]; then
|
if [ ! -f linux_${CURR_ARCH}.zip ]; then
|
||||||
exit 37836
|
exit 37836
|
||||||
else
|
else
|
||||||
|
apt-get -y install unzip
|
||||||
unzip linux_${CURR_ARCH}.zip
|
unzip linux_${CURR_ARCH}.zip
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
@ -355,6 +356,7 @@ function install_gogs {
|
||||||
if [ ! -f linux_${CURR_ARCH}.zip ]; then
|
if [ ! -f linux_${CURR_ARCH}.zip ]; then
|
||||||
exit 37836
|
exit 37836
|
||||||
else
|
else
|
||||||
|
apt-get -y install unzip
|
||||||
unzip linux_${CURR_ARCH}.zip
|
unzip linux_${CURR_ARCH}.zip
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue