Skip to content

Commit

Permalink
Remove the autoremove warning.
Browse files Browse the repository at this point in the history
This is what manual pages are for, and ensures consistent output.
  • Loading branch information
Jonathan Perkin committed Jun 29, 2018
1 parent e598b3c commit 22168e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions autoremove.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ pkgin_autoremove(void)
SLIST_FOREACH(premove, orderedhead, next)
toremove = action_list(toremove, premove->depend);

if (noflag == 0)
printf(MSG_AUTOREMOVE_WARNING);
printf(MSG_AUTOREMOVE_PKGS, removenb, toremove);

if (check_yesno(DEFAULT_YES)) {
Expand Down
2 changes: 0 additions & 2 deletions messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
#define MSG_DOWNLOAD_END " done.\n"

/* autoremove.c */
#define MSG_AUTOREMOVE_WARNING "\
in order to remove packages from the autoremove list, flag those with the `keep' action.\n"
#define MSG_ALL_KEEP_PKGS "all packages are marked as \"keepable\"\n."
#define MSG_AUTOREMOVE_PKGS "%d packages to be autoremoved: %s\n"
#define MSG_MARK_PKG_KEEP "%s is marked as non-autoremovable\n"
Expand Down

0 comments on commit 22168e1

Please sign in to comment.