aboutsummaryrefslogtreecommitdiffstats
path: root/doc/libslapt.3
diff options
context:
space:
mode:
authorJason Woodward2018-06-21 19:07:10 -0400
committerJason Woodward2018-06-21 19:07:10 -0400
commitaa2392e9ab3cbc52c7bc8c3253faa97cba6cf7ec (patch)
treed149a0e8f7b8cb3a10bf5e9630df731bd389705a /doc/libslapt.3
parent681a257da01cabb5fba1ad3d1781de5a3d577a3d (diff)
downloadslapt-get-aa2392e9ab3cbc52c7bc8c3253faa97cba6cf7ec.tar.gz
move default cache directory to /var/cache/slapt-get
Diffstat (limited to 'doc/libslapt.3')
-rw-r--r--doc/libslapt.32
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/libslapt.3 b/doc/libslapt.3
index 0a64274..c955a9f 100644
--- a/doc/libslapt.3
+++ b/doc/libslapt.3
@@ -13,7 +13,7 @@ slapt_rc_config *config = slapt_read_rc_config("/etc/slapt-get/slapt-getrc");
/* get a list of installed packages */
slapt_pkg_list_t *installed = slapt_get_installed_pkgs();
/* parse the package data, normally using config->working_dir */
-FILE *data_f = fopen("/var/slapt-get/package_data","r");
+FILE *data_f = fopen("/var/cache/slapt-get/package_data","r");
slapt_pkg_list_t *available = slapt_parse_packages_txt(data_f);
/* search for a package in a list via regex */