summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-09-28 05:47:25 +0200
committerDan McGee <dan@archlinux.org>2007-09-28 07:16:43 +0200
commitd2edcb58e2252f90447694acc7736c0ba5b1f01e (patch)
tree0e805bb23b4b6012431cdff954598517b4fb34aa /src
parent16cb8e6e61c542731814192fc03e3988c7a26325 (diff)
downloadpacman-d2edcb58e2252f90447694acc7736c0ba5b1f01e.tar.gz
pacman-d2edcb58e2252f90447694acc7736c0ba5b1f01e.tar.xz
Update comments dealing with pkgext/dbext stripping
pacman/callback.c already did the work I set out to do with this commit, so update the comments accordingly in the frontend and backend. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index fac16c5e..0e4ef11a 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -532,8 +532,7 @@ void cb_dl_progress(const char *filename, int xfered, int total)
eta_s -= eta_m * 60;
fname = strdup(filename);
- /* strip extension if it's there
- * NOTE: in the case of package files, only the pkgname is sent now */
+ /* strip package or DB extension for cleaner look */
if((p = strstr(fname, PKGEXT)) || (p = strstr(fname, DBEXT))) {
*p = '\0';
}