Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove PKG_JOBS_UPGRADE as it is not needed
Marin Atanasov Nikolov committed 14 years ago
commit 149d652eacef96dc1d24ee916743ad9553efde4e
parent e783ed1
2 files changed +0 -4
modified libpkg/pkg.h
@@ -222,7 +222,6 @@ typedef enum _pkg_script_t {
typedef enum _pkg_jobs_t {
	PKG_JOBS_INSTALL,
	PKG_JOBS_DEINSTALL,
-
	PKG_JOBS_UPGRADE,
	PKG_JOBS_FETCH
} pkg_jobs_t;

modified pkg/utils.c
@@ -312,7 +312,6 @@ print_jobs_summary(struct pkg_jobs *jobs, pkg_jobs_t type, const char *msg, ...)

		switch (type) {
		case PKG_JOBS_INSTALL:
-
		case PKG_JOBS_UPGRADE:
			dlsize += pkgsize;

			if (newversion != NULL) {
@@ -354,7 +353,6 @@ print_jobs_summary(struct pkg_jobs *jobs, pkg_jobs_t type, const char *msg, ...)

		switch (type) {
		case PKG_JOBS_INSTALL:
-
		case PKG_JOBS_UPGRADE:
			printf("\nThe installation will save %s\n", size);
			break;
		case PKG_JOBS_DEINSTALL:
@@ -369,7 +367,6 @@ print_jobs_summary(struct pkg_jobs *jobs, pkg_jobs_t type, const char *msg, ...)

		switch (type) {
		case PKG_JOBS_INSTALL:
-
		case PKG_JOBS_UPGRADE:
			printf("\nThe installation will require %s more space\n", size);
			break;
		case PKG_JOBS_DEINSTALL: