Magellan Linux

Contents of /trunk/rpm2targz/patches/rpm2targz-9.0-gentoo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 554 byte(s)
-import

1 --- rpm2targz 2003-06-21 13:25:33.000000000 +0100
2 +++ rpm2targz 2003-06-21 14:26:30.000000000 +0100
3 @@ -79,9 +79,9 @@
4 dd ibs=`rpmoffset < $i` skip=1 if=$i 2> /dev/null | gzip -dc > $ofn
5 fi
6 DEST=$TMPDIR/rpm2targz$COOKIE
7 - if [ "$isSource" = "1" ]; then
8 - DEST=$DEST/$(basename $(basename $i .rpm) .src)
9 - fi
10 + #if [ "$isSource" = "1" ]; then
11 + # DEST=$DEST/$(basename $(basename $i .rpm) .src)
12 + #fi
13 mkdir -p $DEST
14 ( cd $DEST
15 cpio --extract --preserve-modification-time --make-directories < $ofn 1> /dev/null 2> /dev/null