Script to check if a package is installed on debian versions