rm -rf /tmp/old.libraries &&
OUR_NEW_READLINE_VVV=$(lvu version readline | sed -r 's/([0-9]+).+/\1/')
OUR_OLD_READLINE_VVV=$(get_module_config OUR_OLD_READLINE_VVV)

if [[ "$OUR_NEW_READLINE_VVV" > "$OUR_OLD_READLINE_VVV" ]]; then

  for MOD in $(lvu depends readline | grep -v -e lunar -e arch ); do
    if module_installed $MOD; then
      lin -c $MOD
    fi
  done

fi

unset_module_config OUR_OLD_READLINE_VVV
