summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2012-05-20 12:52:09 +0000
committerJason Woodward2012-05-20 12:53:41 +0000
commit7ab7414bae56ee0646c6836990e9725ad95ee86e (patch)
tree3fd19603414d22f2ce2d72657359042013dacf06
parent065bd897f2f00b07bbc8fb5a489f764739ed88df (diff)
downloadslapt-get-7ab7414bae56ee0646c6836990e9725ad95ee86e.tar.gz
Update pasture URL fixup for no sub directory packages
-rw-r--r--ChangeLog3
-rw-r--r--src/package.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dcb7eda..3fbdd61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
-0.10.2n Apr 18, 2012
+0.10.2n May 20, 2012
+ * Update pasture URL fixup for no sub directory packages
* updated zlib usage to fix "expected 'gzFile' but argument is of type
'struct gzFile_s **'". Thanks Igor.
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 */