09 ago

Fedora 17 – Eclipse with fragmented plugin

#!/bin/bash
echo "" > reinstall_libs.txt
for arquivo in `find /usr/share/java -type f`
do
   echo $arquivo
   repoquery -f  --qf="%{name}" $arquivo >> reinstall_libs.txt
done
comando="yum reinstall -y "`sort reinstall_libs.txt | uniq -u | tr "\\n" " "`
echo ""
echo ""
echo $comando