Path : /usr/share/apt-file/ |
Current File : //usr/share/apt-file/is-cache-empty |
#!/bin/sh # This script checks if the cache directory is empty if apt-get indextargets --format '$(CREATED_BY)' | grep -q ^Contents- ; then # Not empty exit 1 fi # Empty exit 0