Presumably it's a typo as there's only one "done". Changing it to:
for LIST in $(find /etc/apt/ -name "*.list" -exec readlink '{}' \;); do
- fixes that error, but then two additional errors occur:
Updating packages lists /usr/sbin/ppa-purge: 165: APT: not found /usr/sbin/ppa-purge: 165: APTALT: not found
If these are changed to $ALT and $APTALT the script works. Patch attached.
Presumably it's a typo as there's only one "done". Changing it to:
for LIST in $(find /etc/apt/ -name "*.list" -exec readlink '{}' \;); do
- fixes that error, but then two additional errors occur:
Updating packages lists sbin/ppa- purge: 165: APT: not found sbin/ppa- purge: 165: APTALT: not found
/usr/
/usr/
If these are changed to $ALT and $APTALT the script works. Patch attached.