[pacman-dev] CVS update of pacman-lib/src/pacman (package.c)

dan at archlinux.org dan at archlinux.org
Wed Feb 7 20:12:48 EST 2007


    Date: Wednesday, February 7, 2007 @ 20:12:48
  Author: dan
    Path: /home/cvs-pacman/pacman-lib/src/pacman

Modified: package.c (1.27 -> 1.28)

Fix newlines for real, and add a missing _() gettext wrapper.


-----------+
 package.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


Index: pacman-lib/src/pacman/package.c
diff -u pacman-lib/src/pacman/package.c:1.27 pacman-lib/src/pacman/package.c:1.28
--- pacman-lib/src/pacman/package.c:1.27	Tue Feb  6 17:36:14 2007
+++ pacman-lib/src/pacman/package.c	Wed Feb  7 20:12:48 2007
@@ -97,9 +97,10 @@
 	/* Print additional package info if info flag passed more than once */
 	if(level > 1) {
 		/* call new backup function */
-		dump_pkg_backups(pkg);
 		printf("\n");
+		dump_pkg_backups(pkg);
 	}
+	printf("\n");
 }
 
 /* Display the content of a sync package
@@ -145,7 +146,7 @@
 {
 	alpm_list_t *i;
 	const char *root = alpm_option_get_root();
-	printf("\nBackup Files :\n");
+	printf(_("Backup Files :\n"));
 	for(i = alpm_pkg_get_backup(pkg); i; i = alpm_list_next(i)) {
 		struct stat buf;
 		char path[PATH_MAX];




More information about the pacman-dev mailing list