Hi Christoph,

2011/5/27 Christoph Martin <mar...@uni-mainz.de>:
> Hallo Ondřej,
>
> thanks for your patches and your NMU.
>
> Did you see bug 627767 ?

Nope, but that's easy to fix:

diff --git a/debian/sks.cron.daily b/debian/sks.cron.daily
index c40739a..8f475ce 100755
--- a/debian/sks.cron.daily
+++ b/debian/sks.cron.daily
@@ -26,7 +26,7 @@ clean_directory() {
        dir=$1
        if [ -d "$dir" ]
        then
-               db4.7_archive -h $dir -d
+               db_archive -h $dir -d
        fi
        return 0
 }

And you probably want one more patch to sks.postinst:

diff --git a/debian/sks.postinst b/debian/sks.postinst
index 44cc195..01c57ce 100755
--- a/debian/sks.postinst
+++ b/debian/sks.postinst
@@ -85,6 +85,8 @@ else
        # Read the compiled-in Berkeley DB version
        NEW_BDB=$(cat /usr/lib/sks/berkeley_db.txt)

+       if [ "$OLD_BDB" != "$NEW_BDB" ]; then
+
        # Upgrade Berkeley DB in place
        BACKUP_DIR=/var/backup/sks/$(date +%Y%m%d-%H%M%S)
        SKS_DIR=/var/lib/sks
@@ -134,6 +136,8 @@ else
        # Note the active Berkeley DB version
        cp -f /usr/lib/sks/berkeley_db.txt /var/lib/sks/berkeley_db.active

+       fi
+
     fi
 fi


O.
-- 
Ondřej Surý <ond...@sury.org>
http://blog.rfc1925.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to