yunohost-moulinette will be merged in yunohost
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
# Source me
|
# Source me
|
||||||
|
|
||||||
# Check Moulinette version (firewall hook)
|
# Check YunoHost version (firewall hook in Moulinette)
|
||||||
ynh_moulinette_version=$(sudo dpkg -l moulinette-yunohost | grep ii | awk '{ print $3 }' | sed 's/\.//g')
|
ynh_version=$(sudo dpkg -l yunohost | grep ii | awk '{ print $3 }' | sed 's/\.//g')
|
||||||
|
|
||||||
if [ "${ynh_moulinette_version}" -lt 240 ]; then
|
if [ "${ynh_version}" -lt 240 ]; then
|
||||||
echo "WARN: You need a YunoHost-Moulinette version equals or greater than 2.4.0 for activating the firewalling" >&2
|
echo "WARN: You need a YunoHost's version equals or greater than 2.4.0 for activating the firewalling" >&2
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user