diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-07 17:50:20 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-07 17:50:20 +0000 |
commit | 59edbdd4cf12f6eba49946dca15e4cfd6d2c35c0 (patch) | |
tree | e9c9c8f151069f6f38bd3b0d597af3a745500401 /src/pacman/sync.c | |
parent | 74b3e0dcaeec9a07636b9227f372b0c1cf153986 (diff) |
code cleanup
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r-- | src/pacman/sync.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 0cdb8806..7a76dea0 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -526,7 +526,7 @@ int pacman_sync(list_t *targets) MSG(NL, ":: %s: requires %s", alpm_dep_getinfo(miss, PM_DEP_TARGET), alpm_dep_getinfo(miss, PM_DEP_NAME)); switch((int)alpm_dep_getinfo(miss, PM_DEP_MOD)) { - case PM_DEP_MOD_EQ: MSG(CL, "=%s", alpm_dep_getinfo(miss, PM_DEP_VERSION)); break; + case PM_DEP_MOD_EQ: MSG(CL, "=%s", alpm_dep_getinfo(miss, PM_DEP_VERSION)); break; case PM_DEP_MOD_GE: MSG(CL, ">=%s", alpm_dep_getinfo(miss, PM_DEP_VERSION)); break; case PM_DEP_MOD_LE: MSG(CL, "<=%s", alpm_dep_getinfo(miss, PM_DEP_VERSION)); break; } @@ -606,7 +606,7 @@ int pacman_sync(list_t *targets) MSG(NL, "\nTargets: "); str = buildstring(list_install); indentprint(str, 9); - MSG(NL, "Total Package Size: %.1f MB\n", mb); + MSG(NL, "\nTotal Package Size: %.1f MB\n", mb); FREELIST(list_install); FREE(str); @@ -633,7 +633,6 @@ int pacman_sync(list_t *targets) } } if(!confirm) { - retval = 1; goto cleanup; } } |