mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user