Also, readlink returns empty if the file isn't a symlink. readlink -f falls back to the original filename. (None of the ~20 .list files in my /etc/apt are symlinks). Updated patch attached.
Also, readlink returns empty if the file isn't a symlink. readlink -f falls back to the original filename. (None of the ~20 .list files in my /etc/apt are symlinks). Updated patch attached.