[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get source



On Tue, 26 Jun 2001 14:47:15 CDT, "Petr [Dingo] Dvorak" writes:
>is there any way how i can set up the apt-get source so it unpacks the source
>in /usr/src/???? and drops the original tarball in /usr/src ?

apt-get source puts whatever you request in the current dir.

just 
  ORIG_DIR=`pwd`; cd /usr/src/; apt-get source <$package>; cd $ORIG_DIR
 does the trick.

IMHO /usr/local/src/ would be more to the FHS, but it´s your system 
 after all ;-)

cheers,
&rw
-- 
-- Gordon's Law: If you think you have the
-- solution, the question was poorly phrased. 
----


Attachment: pgpT1oLG8Gsys.pgp
Description: PGP signature


Reply to: