add auto install for unzip
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -28,7 +28,7 @@ if [ -z "$INSTALL_GITEA" ] || [[ "$INSTALL_GITEA" != "y" && "$INSTALL_GITEA" !=
|
|||||||
if ! command -v unzip &> /dev/null; then
|
if ! command -v unzip &> /dev/null; then
|
||||||
echo "unzip could not be found, installing it ..."
|
echo "unzip could not be found, installing it ..."
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install unzip -y
|
sudo apt-get install unzip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Extracting compressed file ..."
|
echo "Extracting compressed file ..."
|
||||||
|
|||||||
Reference in New Issue
Block a user