mirror of
https://github.com/TangentFoxy/LovePackaging.git
synced 2024-11-09 09:34:22 +00:00
output fix on zip/unzip checking
This commit is contained in:
parent
b54ec59fe0
commit
b9a53a4afb
4
build
4
build
@ -31,11 +31,11 @@ fi
|
||||
|
||||
# check that zip and unzip are accessible
|
||||
# not sure if this is the best way to do this or not
|
||||
if ! which zip; then
|
||||
if ! which zip > /dev/null 2>&1; then
|
||||
echo "zip not installed"
|
||||
exit 2;
|
||||
fi
|
||||
if ! which unzip; then
|
||||
if ! which unzip > /dev/null 2>&1; then
|
||||
echo "unzip not installed"
|
||||
exit 3;
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user