aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Woodward2005-12-09 17:58:02 +0000
committerJason Woodward2005-12-09 17:58:02 +0000
commite385cef525d55f56a3bbc752db4d6208e9b0b92a (patch)
tree7b8c3ff45e36ffd1e474fcb992e441180c9ec51d /doc
parent5855c3e800ff58afda1ee970c71b58df8d0f0f40 (diff)
downloadslapt-get-e385cef525d55f56a3bbc752db4d6208e9b0b92a.tar.gz
fixed example snippet to use slapt_ naming convention for (install|remove|upgrade)_pkg
Diffstat (limited to 'doc')
-rw-r--r--doc/libslapt.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/libslapt.3 b/doc/libslapt.3
index b4a27a2..e1bca0f 100644
--- a/doc/libslapt.3
+++ b/doc/libslapt.3
@@ -25,13 +25,13 @@ slapt_pkg_info_t *pkg = slapt_get_exact_pkg(available,
if (!slapt_is_excluded(config,pkg)) {
slapt_download_pkg(config,pkg);
- if (install_pkg(config,pkg) != 0) {
+ if (slapt_install_pkg(config,pkg) != 0) {
fprintf(stderr,"error installing %s\\n"pkg->name);
}
- if (upgrade_pkg(config,pkg) != 0) {
+ if (slapt_upgrade_pkg(config,pkg) != 0) {
fprintf(stderr,"error upgrading %s\\n"pkg->name);
}
- if (remove_pkg(config,pkg) != 0) {
+ if (slapt_remove_pkg(config,pkg) != 0) {
fprintf(stderr,"error removing %s\\n"pkg->name);
}
}