aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2004-11-28 04:25:31 +0000
committerJason Woodward2004-11-28 04:25:31 +0000
commit5af743c66a127a5bf4a32fa7d4e2bf4c208bd070 (patch)
treefe9ec3dfb84ccea1e10e5f8cb2344cfa848faa7a /src
parent5c2faa2d92937833fa8fea1b3a0ae0e2fb4f4bf4 (diff)
downloadslapt-get-5af743c66a127a5bf4a32fa7d4e2bf4c208bd070.tar.gz
leave out file list from installed package description
Diffstat (limited to 'src')
-rw-r--r--src/package.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/package.c b/src/package.c
index fb160b6..b37c282 100644
--- a/src/package.c
+++ b/src/package.c
@@ -518,6 +518,7 @@ struct pkg_list *get_installed_pkgs(void){
tmp_pkg->description[0] = '\0';
while(1){
if((bytes_read = getline(&getline_buffer,&getline_len,pkg_f)) == EOF ) break;
+ if( strstr(getline_buffer,"FILE LIST:") != NULL ) break;
if( strcmp(getline_buffer,"\n") != 0 &&
/* don't overflow the buffer */
(strlen(tmp_pkg->description) + bytes_read) < DESCRIPTION_LEN