From 15b95a711346b4fe390fb6e8033cc7438d9c04d0 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 25 Jun 2020 03:15:17 +0000 Subject: [PATCH] update unzip instructions --- _webi/bootstrap.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_webi/bootstrap.sh b/_webi/bootstrap.sh index 6562087..b9efebb 100644 --- a/_webi/bootstrap.sh +++ b/_webi/bootstrap.sh @@ -53,7 +53,12 @@ fi if [ -n "\$(command -v unzip)" ]; then my_ext="zip,\$my_ext" else - >&2 echo "WARN: 'unzip' not found" + if [ -n "\$(command -v apt-get)" ]; then + >&2 echo "WARN: please install 'unzip':" + >&2 echo " sudo apt-get install -y unzip" + else + >&2 echo "WARN: 'unzip' not found" + fi fi if [ -n "\$(command -v tar)" ]; then my_ext="tar,\$my_ext" -- 2.25.1