COPKGManager: use installPackage() for install from package list too

installPackage() has also a new parameter for options,
in this case is --force-reinstall in use.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 14d21fdeec
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-31 (Sat, 31 Jan 2015)



------------------
This commit was generated by Migit
This commit is contained in:
2015-01-31 21:55:01 +01:00
parent c97c7d7935
commit 28aa7343b2
2 changed files with 17 additions and 22 deletions

View File

@@ -109,7 +109,7 @@ class COPKGManager : public CMenuTarget
int exec(CMenuTarget* parent, const std::string & actionKey);
static bool hasOpkgSupport();
bool checkUpdates(const std::string & package_name = std::string(), bool show_progress = true);
bool installPackage(const std::string& pkg_name);
bool installPackage(const std::string& pkg_name, std::string options = std::string());
bool checkSize(const std::string& pkg_name);
};
#endif