[pacman-dev] [PATCH] pacman: print version information in debug output

Allan McRae allan at archlinux.org
Thu Jun 7 00:52:18 EDT 2012


Signed-off-by: Allan McRae <allan at archlinux.org>
---
 src/pacman/pacman.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 73d5be9..6226ee1 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -857,6 +857,8 @@ int main(int argc, char *argv[])
 		}
 	}
 
+	pm_printf(ALPM_LOG_DEBUG, "pacman v%s - libalpm v%s\n", PACKAGE_VERSION, alpm_version());
+
 	/* parse the config file */
 	ret = parseconfig(config->configfile);
 	if(ret != 0) {
-- 
1.7.10.3



More information about the pacman-dev mailing list