prerequisites 312 B

123456789
  1. # Source me
  2. # Check Moulinette version (firewall hook)
  3. ynh_moulinette_version=$(sudo dpkg -l moulinette-yunohost | grep ii | awk '{ print $3 }' | sed 's/\.//g')
  4. if [ "${ynh_moulinette_version}" -lt 240 ]; then
  5. echo "ERROR: You need a YunoHost-Moulinette version equals or greater than 2.4.0" >&2
  6. exit 1
  7. fi