install unzip if needed
This commit is contained in:
parent
7053078d80
commit
9ab8be7d6b
5
setup.sh
5
setup.sh
|
@ -4,8 +4,9 @@
|
|||
[ "$(id -u)" = "0" ] && {
|
||||
|
||||
# check if git & curl are installed
|
||||
[ -z "$(command -v git)" ] && { apt-get update && apt-get -y install git >> /dev/null 2>&1; }
|
||||
[ -z "$(command -v curl)" ] && { apt-get update && apt-get -y install curl >> /dev/null 2>&1; }
|
||||
[ -z "$(command -v git)" ] && { apt-get update && apt-get -y install git; } >> /dev/null 2>&1
|
||||
[ -z "$(command -v curl)" ] && { apt-get update && apt-get -y install curl; } >> /dev/null 2>&1
|
||||
[ -z "$(command -v unzip)" ] && { apt-get update && apt-get -y install unzip; } >> /dev/null 2>&1
|
||||
[ ! -d "$HOME/.ssh" ] && { mkdir "$HOME/.ssh"; }
|
||||
|
||||
# install cht.sh if not already installed
|
||||
|
|
Loading…
Reference in New Issue