rm -rf /tmp/old.libraries &&
OUR_NEW_READLINE_VVV=$(lvu version readline | perl -pe '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 theedge -e lunar -e arch ) ; do
    if module_installed $MOD ; then
      lin -c $MOD
    fi
  done

fi

#rm -f /lib/libreadline.so.5  &&
#rm -f /lib/libhistory.so.5   &&
unset_module_config OUR_OLD_READLINE_VVV
