summaryrefslogtreecommitdiff
path: root/debian/apt.postinst
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-22 16:01:00 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-22 16:01:00 +0200
commit555a487afb510c561d094f27bb08119694e7388f (patch)
tree8b911f2ece6122e70b812628e598c9cccbf0e989 /debian/apt.postinst
parentce2de59157d5ac584005c76f58b277adcaf8e1ab (diff)
parenta3bbbab7ca5f94391b2158cfe9deb85eb335e29a (diff)
merged from donkult
Diffstat (limited to 'debian/apt.postinst')
-rw-r--r--debian/apt.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/apt.postinst b/debian/apt.postinst
index cc0d8b1fe..4d87c4e25 100644
--- a/debian/apt.postinst
+++ b/debian/apt.postinst
@@ -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
;;