]> git.donarmstrong.com Git - cran2deb.git/commitdiff
be more verbose about database release
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sun, 1 Feb 2009 11:23:32 +0000 (11:23 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sun, 1 Feb 2009 11:23:32 +0000 (11:23 +0000)
git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@184 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

trunk/exec/db_release

index 6a4dcd2e9a655ba39bbf821598cf68909bc19244..cc6d59d09958e6c0ae7e81ed3d59df379fc4d42c 100755 (executable)
@@ -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)