Fix "autoupdate" target when no new packages are available.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20091017041820-tj61sfbw5nz50ioh
This commit is contained in:
@@ -226,6 +226,9 @@ xbps_exec_transaction(const char *pkgname, bool force, bool update)
|
||||
if (rv == ENOENT) {
|
||||
printf("No packages currently registered.\n");
|
||||
cleanup(0);
|
||||
} else if (rv == ENOPKG) {
|
||||
printf("All packages are up-to-date.\n");
|
||||
cleanup(0);
|
||||
}
|
||||
goto out;
|
||||
}
|
||||
|
Reference in New Issue
Block a user