HEX
Server: Apache
System: Linux hz.vslconceptsdomains.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: dkfounda (3233)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
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