From 0eceebbdfdc2c5e1d677bff95a9ac1ef2f728337 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sun, 27 Jan 2019 08:27:33 +0100 Subject: Add a "reinstall" command as an alias for "install --reinstall". aptitude has a similar "reinstall" command for precedent. --- apt-private/private-install.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apt-private/private-install.cc') diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index 1713ff308..243b75b1c 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -586,7 +586,9 @@ bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vectorSet("APT::Get::ReInstall", "true"); + else if (strcasecmp(CmdL.FileList[0],"remove") == 0) fallback = MOD_REMOVE; else if (strcasecmp(CmdL.FileList[0], "purge") == 0) { -- cgit v1.2.3