@@ -25,6 +25,7 @@ Architecture = auto
#IgnorePkg =
#IgnoreGroup =
+#AssumeInstalled =
#NoUpgrade =
#NoExtract =
@@ -632,6 +632,8 @@ static int _parse_options(const char *key, char *value,
setrepeatingoption(value, "IgnoreGroup", &(config->ignoregrp));
} else if(strcmp(key, "HoldPkg") == 0) {
setrepeatingoption(value, "HoldPkg", &(config->holdpkg));
+ } else if(strcmp(key, "AssumeInstalled") == 0) {
+ setrepeatingoption(value, "AssumeInstalled", &(config->assumeinstalled));
} else if(strcmp(key, "CacheDir") == 0) {
setrepeatingoption(value, "CacheDir", &(config->cachedirs));
} else if(strcmp(key, "HookDir") == 0) {
--assume-installed is already an option to transactions. This change allow setting a list of packages in the config file. Signed-off-by: Дамјан Георгиевски <gdamjan@gmail.com> --- etc/pacman.conf.in | 1 + src/pacman/conf.c | 2 ++ 2 files changed, 3 insertions(+)