* handle situations were just one set of bdb utils is installed on debian
authorWilfried Göesgens <willi@citadel.org>
Wed, 6 Feb 2008 10:40:07 +0000 (10:40 +0000)
committerWilfried Göesgens <willi@citadel.org>
Wed, 6 Feb 2008 10:40:07 +0000 (10:40 +0000)
citadel/database_cleanup.sh.in

index 6b786300696087729d267ef42952ee4829efbda1..fa1d8b3ce4fef6894f0166b4292d2cda0fcfe2f2 100755 (executable)
@@ -35,6 +35,10 @@ else
                                RECOVER=`ls /usr/bin/db*recover |sort |tail -n 1`
                                DUMP=`ls /usr/bin/db*dump |sort |tail -n 1`
                                LOAD=`ls /usr/bin/db*load |sort |tail -n 1`
+                       else
+                               RECOVER=`ls /usr/bin/db*recover`
+                               DUMP=`ls /usr/bin/db*dump`
+                               LOAD=`ls /usr/bin/db*load`
                        fi
                else
                        echo "database_cleanup.sh cannot find the Berkeley DB utilities.  Exiting." 1>&2