Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Merge pull request #138 from so14k/delete-size
Baptiste Daroussin committed 14 years ago
commit 6eef1945c48778e75e9f0a034b651c546832eaf7
parent fc266276c8cfd48f363eb8a88a8d98ddfd911113
1 file changed +3 -2
modified pkg/delete.c
@@ -110,7 +110,8 @@ exec_delete(int argc, char **argv)
	if (oldsize > newsize) {
		newsize *= -1;
		humanize_number(size, sizeof(size), oldsize - newsize, "B", HN_AUTOSCALE, 0);
-
	} else {
+
	}
+
	else if (newsize > oldsize) {
		humanize_number(size, sizeof(size), newsize - oldsize, "B", HN_AUTOSCALE, 0);
	}

@@ -125,7 +126,7 @@ exec_delete(int argc, char **argv)

	if (oldsize > newsize)
		printf("\nThe deinstallation will save %s\n", size);
-
	else
+
	else if (newsize > oldsize)
		printf("\nThe deinstallation will require %s more space\n", size);

	if (yes == false)