View Single Post
  #4  
Old 29th May 2013, 10:47
monkfish monkfish is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Posts: 106
Thanks: 9
Thanked 15 Times in 14 Posts
Default

Put this in a script file, eg checkrepo.sh

Code:
#!/bin/sh
repoquery --queryformat %{name} --installed -a > /lists/64/"$(hostname -s).list"
Don't forget to chmod +x after you save it.

Run it, does it produce the results? Seems to on mine. HTH.
Reply With Quote