aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2012-05-20 12:52:09 +0000
committerJason Woodward2012-05-20 12:53:41 +0000
commit7ab7414bae56ee0646c6836990e9725ad95ee86e (patch)
tree3fd19603414d22f2ce2d72657359042013dacf06 /src
parent065bd897f2f00b07bbc8fb5a489f764739ed88df (diff)
downloadslapt-get-7ab7414bae56ee0646c6836990e9725ad95ee86e.tar.gz
Update pasture URL fixup for no sub directory packages
Diffstat (limited to 'src')
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c
index c378b28..886347f 100644
--- a/src/package.c
+++ b/src/package.c
@@ -214,7 +214,7 @@ slapt_pkg_list_t *slapt_parse_packages_txt(FILE *pkg_list_fh)
);
free(tmp_pkg->location);
tmp_pkg->location = tmp_location;
- } else if (strstr(tmp_pkg->location,"./pasture/") != NULL) {
+ } else if (strstr(tmp_pkg->location,"./pasture") != NULL) {
char *tmp_location = slapt_malloc(
sizeof *tmp_location *
(strlen(tmp_pkg->location) - 7) /* ./pasture - 2 */