Add ruby as dependency

This commit is contained in:
Chocobozzz 2016-04-17 21:48:31 +02:00
parent b49146e407
commit 8db43fc5dd
1 changed files with 2 additions and 2 deletions

View File

@ -1,13 +1,13 @@
#!/bin/sh #!/bin/sh
gitlink="https://gitlab.cpy.re/florian/unixconf/repository/archive.zip?ref=master" gitlink="https://gitlab.cpy.re/florian/unixconf/repository/archive.zip?ref=master"
musthaves="zsh wget git vim ssh-agent urxvt unzip" musthaves="zsh wget git vim ssh-agent urxvt unzip ruby"
for musthave in $musthaves; do for musthave in $musthaves; do
which "$musthave" >/dev/null 2>&1 which "$musthave" >/dev/null 2>&1
if [ "$?" -ne 0 ]; then if [ "$?" -ne 0 ]; then
echo "You should install ${musthave}." echo "You should install ${musthave}."
echo "On Debian: apt-get install zsh wget git vim openssh-client rxvt-unicode unzip" echo "On Debian: apt-get install zsh wget git vim openssh-client rxvt-unicode unzip ruby"
exit exit
fi fi
done done