Replace Moulinette error by warning

This commit is contained in:
Julien Vaubourg
2015-09-29 18:01:52 +02:00
parent 4a10cecb9a
commit abcddf3634
3 changed files with 15 additions and 2 deletions

View File

@@ -4,6 +4,5 @@
ynh_moulinette_version=$(sudo dpkg -l moulinette-yunohost | grep ii | awk '{ print $3 }' | sed 's/\.//g')
if [ "${ynh_moulinette_version}" -lt 240 ]; then
echo "ERROR: You need a YunoHost-Moulinette version equals or greater than 2.4.0" >&2
exit 1
echo "WARN: You need a YunoHost-Moulinette version equals or greater than 2.4.0 for activating the firewalling" >&2
fi