From: blundellc Date: Sun, 1 Feb 2009 11:23:32 +0000 (+0000) Subject: be more verbose about database release X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=42192fed0445e57ef0f7ebaffc8b85b180885723;p=cran2deb.git be more verbose about database release git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@184 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- diff --git a/trunk/exec/db_release b/trunk/exec/db_release index 6a4dcd2..cc6d59d 100755 --- a/trunk/exec/db_release +++ b/trunk/exec/db_release @@ -1,9 +1,13 @@ #!/usr/bin/env r ## DOC: cran2deb db_release -## DOC: make note of a substantial update of the database. causes all packages to rbe marked for ebuild. +## DOC: make note of a substantial update of the database. causes all packages to be marked for ebuild. ## DOC: suppressPackageStartupMessages(library(cran2deb)) -db_stop(db_start(),TRUE) - +con <- db_start() +notice('old db version:',db_cur_version(con)) +db_stop(con,TRUE) +con <- db_start() +notice('new db version:',db_cur_version(con)) +db_stop(con)