Yes, but that won't help much if apt-get update hasn't been run with the modified sources list, will it?
Maybe more useful than your current patch, which only helps to verify the PPA name, would be to actually disable the PPA in the sources list (requiring superuser) and run the apt-get install with --simulate, then restore the sources list?
Yes, but that won't help much if apt-get update hasn't been run with the modified sources list, will it?
Maybe more useful than your current patch, which only helps to verify the PPA name, would be to actually disable the PPA in the sources list (requiring superuser) and run the apt-get install with --simulate, then restore the sources list?