diff options
-rw-r--r-- | src/pacman/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index f572dc87..f5bf17d1 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -570,7 +570,7 @@ void cb_dl_progress(const char *filename, off_t file_xfered, off_t file_total) fname = strdup(filename); /* strip package or DB extension for cleaner look */ - if((p = strstr(fname, PKGEXT)) || (p = strstr(fname, DBEXT))) { + if((p = strstr(fname, ".pkg.tar.")) || (p = strstr(fname, ".db.tar."))) { *p = '\0'; } /* In order to deal with characters from all locales, we have to worry |