summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2005-02-09 05:44:31 +0000
committerJason Woodward2005-02-09 05:44:31 +0000
commit35547c414862fb96f45d6f4f961d728a872be781 (patch)
tree0658a9e050fa1f5f008805a8908e9a05349d8704 /src
parenta70eb3da01ed8475e3ab61fd4ea6652c53dccd64 (diff)
downloadslapt-get-35547c414862fb96f45d6f4f961d728a872be781.tar.gz
make sure all dependencies for slapt-get are satisfied during dist-upgrade
Diffstat (limited to 'src')
-rw-r--r--src/action.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/action.c b/src/action.c
index 7e3043e..0a539d6 100644
--- a/src/action.c
+++ b/src/action.c
@@ -484,6 +484,12 @@ void pkg_action_upgrade_all(const rc_config *global_config){
}/* end if remove_obsolete */
+ /* insurance so that all of slapt-get's requirements are also installed */
+ add_deps_to_trans(
+ global_config,&tran,avail_pkgs,installed_pkgs,
+ get_newest_pkg(avail_pkgs,"slapt-get")
+ );
+
}
for(i = 0; i < installed_pkgs->pkg_count;i++){