Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Say 'yes' or '!yes' not 'yes == true' or 'yes == false'
Matthew Seaman committed 13 years ago
commit 8215d027f004fbbbba95c23798e6f419355557cf
parent 73d08da
1 file changed +2 -2
modified pkg/check.c
@@ -172,10 +172,10 @@ fix_deps(struct pkgdb *db, struct deps_head *dh, int nbpkgs, bool yes)
	/* print a summary before applying the jobs */
	print_jobs_summary(jobs, "The following packages will be installed:\n\n");
	
-
	if (yes == false)
+
	if (!yes)
		yes = query_yesno("\n>>> Try to fix the missing dependencies [y/N]: ");

-
	if (yes == true) {
+
	if (yes) {
		if (pkgdb_access(PKGDB_MODE_WRITE, PKGDB_DB_LOCAL) ==
		    EPKG_ENOACCESS) {
			warnx("Insufficient privilege to modify package "