ProPeler
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
apt-file
/
Filename :
is-cache-empty
back
Copy
#!/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