Fix #735 and #736 for centos

[root@home3 vesta]# v-add-letsencrypt-domain test test.com
/usr/local/vesta/bin/v-add-letsencrypt-user: regel 60: xxd: command not found
/usr/local/vesta/bin/v-add-letsencrypt-user: regel 64: xxd: command not found
This commit is contained in:
Made I.T 2016-11-21 22:20:32 +01:00 committed by GitHub
commit f8a5cddf3e

View file

@ -39,6 +39,10 @@ if [ $1 -ge 2 ]; then
if [ -e /usr/local/vesta/upd/fix_sessions.sh ]; then
/usr/local/vesta/upd/fix_sessions.sh
fi
xdd=$(which xxd)
if [ $? -gt 0 ]; then
yum install -y vim-common
fi
fi
%files
%{_vestadir}