Mailinglist Archive: opensuse (4749 mails)

< Previous Next >
Re: [SLE] RPM question
  • From: zentara <zentara@xxxxxxxxxxx>
  • Date: Mon, 5 May 2003 06:00:08 -0400
  • Message-id: <20030505060008.67b51683.zentara@xxxxxxxxxxx>
On Mon, 5 May 2003 00:27:46 +0200
Anders Johansson <andjoh@xxxxxxxxxx> wrote:

>On Monday 05 May 2003 00:17, zentara wrote:
>> rmtree ('var',0,0);
>
>Considering that you don't care about the rpm database, and that you ignore
>the script, your perl script looks to me to be completely equivalent to
>
>rpm2cpio rpmname.rpm|cpio -i --make-directories
>
>Am I missing something?

Nope. I just like using perl. It makes it easier to type in the command.
The above line in a shell script could be put in a shell script with %1,
but I havn't tested it.

--
use Perl; #powerful programmable prestidigitation

< Previous Next >