aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2003-10-10 13:22:23 +0000
committerJason Woodward2003-10-10 13:22:23 +0000
commit4ae58a43b6c06201b82ec5b2ee8f3e2580cb2f79 (patch)
tree145012f16c6e98720a2ca45fa2b6986494357b41
parent785198f2207e1cef60fb72b629ac387df4aa24dc (diff)
downloadslapt-get-4ae58a43b6c06201b82ec5b2ee8f3e2580cb2f79.tar.gz
removed needless check in get_md5sum looking for common slack mirror directories.
-rw-r--r--ChangeLog4
-rw-r--r--Makefile2
-rw-r--r--src/package.c3
3 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ca36967..9fcab75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
+0.9.5f Oct 10, 2003
+ * removed needless check in get_md5sum looking for common slack mirror
+ directories.
+
0.9.5e Oct 10, 2003
* added a doinst.sh script (generated from the Makefile) to help
manage the slapt-getrc.
diff --git a/Makefile b/Makefile
index 1393182..920a1c6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
PROGRAM_NAME=slapt-get
-VERSION=0.9.5e
+VERSION=0.9.5f
ARCH=i386
RELEASE=1
CC=gcc
diff --git a/src/package.c b/src/package.c
index 7c3c5be..4a8f498 100644
--- a/src/package.c
+++ b/src/package.c
@@ -671,9 +671,6 @@ void get_md5sum(const rc_config *global_config,pkg_info_t *pkg,char *md5_sum){
while( (getline_read = getline(&getline_buffer,&getline_len,checksum_file) ) != EOF ){
if( strstr(getline_buffer,".tgz") == NULL) continue;
- if((strstr(getline_buffer,"slackware")==NULL) && (strstr(getline_buffer,"patch")==NULL)){
- continue;
- }
md5sum_regex.reg_return = regexec( &md5sum_regex.regex, getline_buffer, md5sum_regex.nmatch, md5sum_regex.pmatch, 0);
if( md5sum_regex.reg_return == 0 ){