]> git.saurik.com Git - apt.git/blobdiff - debian/apt.postinst
* apt-pkg/depcache.cc:
[apt.git] / debian / apt.postinst
index cc0d8b1fec4ef94f8edfbb6584e26704a2aa8e4e..4d87c4e256f8ab3ee936a6037a6f0b748ef53580 100644 (file)
@@ -15,6 +15,11 @@ set -e
 
 case "$1" in
     configure)
+       SECRING='/etc/apt/secring.gpg'
+       # test if secring is an empty normal file
+       if test -f $SECRING -a ! -s $SECRING; then
+               rm -f $SECRING
+       fi
        apt-key update
     ;;