little python script to clean up double entries in /usr/lib/opkg/status

2010-05-04 Thread Jan Girlich
Hi folks, for some reason I often suffer from double (or triple or...) entries in my /usr/lib/opkg/status and decided to write a little script that removes double entries. To be safe I opted to remove the newer entries and keep only the oldest. Sorry for little comments in the code. HTH someone

Re: little python script to clean up double entries in /usr/lib/opkg/status

2010-05-04 Thread neo
for some reason I often suffer from double (or triple or...) entries in my /usr/lib/opkg/status and decided to write a little script that removes double entries. To be safe I opted to remove the newer entries and keep only the oldest. This is a good idea! However, the script does to take