Changeset bf3ad3a


Ignore:
Timestamp:
11/01/2005 12:13:13 PM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Branches:
0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
4457252
Parents:
527d773
Message:

Some minor tweaks to included patch. Might as well make it apply clean, too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs-0.2-debian_31_as_host-1.patch

    r527d773 rbf3ad3a  
    1 Submitted By: Jhon Kelly (jakelly at shtc dot net)
     1Submitted By: John Kelly (jakelly at shtc dot net)
    22Date: 2005-09-26
    33Initial Package Version: 0.2
     
    55Upstream Status: Optional
    66Description: Allow jhalfs to work with a md5sum program
    7 that don't accept - as filename, like the one shipped with
     7that doesn't accept '-' as a filename, like the one shipped with
    88Debian 3.1 stable.
    99
    10 --- jhalfs.orig 2005-09-25 17:17:15.000000000 -0400
    11 +++ jhalfs  2005-09-25 19:12:12.000000000 -0400
    12 @@ -189,9 +189,12 @@
    13    DIR=`echo $1 | sed 's@-doc@@'`
    14 
     10--- jhalfs.orig 2005-11-01 07:10:00.104763416 -0500
     11+++ jhalfs      2005-11-01 07:10:02.472416413 -0500
     12@@ -192,9 +192,12 @@
     13   DIR=`echo $1 | sed -e 's@-doc@@' -e 's@-linuxthreads@@' -e 's@-libidn@@'`
     14 
    1515   # Find the md5 sum for this package.
    1616-  if [ $2 != MD5SUMS ] ; then MD5=`grep "  $2" MD5SUMS` ; fi
     
    1919+    md5_file=${MD5#* } ; md5_chksum=${MD5% *}
    2020+  fi
    21 
     21 
    2222-  if [ ! -f $2 ] ; then
    2323+  if [ ! -f $2 -o $2 == MD5SUMS ] ; then
     
    2525       wget )
    2626         wget $HTTP/$DIR/$2
    27 @@ -203,7 +206,7 @@
     27@@ -206,7 +209,7 @@
    2828         echo "$DL not supported at this time."
    2929         ;;
     
    3434       wget )
    3535         wget -c $HTTP/$DIR/$2
    36 @@ -216,8 +219,11 @@
     36@@ -219,8 +222,11 @@
    3737         ;;
    3838     esac
     
    4747   fi
    4848 }
    49 
    50 
     49 
Note: See TracChangeset for help on using the changeset viewer.