add this 2 lines:
echo $1 >> packages.txt
uniq packages.txt > packages2.txt ; mv packages2.txt packages.txt
the programs name is installed-or-not i have it in /bin
installed-or-not firefox < adds firefox to list and if already there rm
Link To Download Script!
http://pastebin.com/5Nks717G
Inga kommentarer:
Skicka en kommentar