index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-07-08 20:33:17 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-07-11 11:35:57 +1000 |
commit | fa8419a0b569378674fb87e69f249d9cfe724596 (patch) | |
tree | 944a1ff670817371c33cba886fcbb54fa60a575a /src | |
parent | bcc9c417ae989ffda193083807142171c7a0190f (diff) |
-rw-r--r-- | src/pacman/callback.c | 5 |
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index e1e77f78..3242d15b 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -308,8 +308,9 @@ void cb_event(alpm_event_t *event) case ALPM_EVENT_DATABASE_MISSING: if(!config->op_s_sync) { pm_printf(ALPM_LOG_WARNING, - "database file for '%s' does not exist\n", - event->database_missing.dbname); + "database file for '%s' does not exist (use '%s' to download)\n", + event->database_missing.dbname, + config->op == PM_OP_FILES ? "-Fy": "-Sy"); } break; case ALPM_EVENT_PACNEW_CREATED: |