diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-06-13 19:03:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-06-13 19:03:26 +0000 |
commit | dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5 (patch) | |
tree | 9c0829ff47384198a1920e619007a43d3844a1ce | |
parent | 8b30f8ca4437f61cfd3492df5c8134eb470214db (diff) | |
download | urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.tar urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.tar.gz urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.tar.bz2 urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.tar.xz urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.zip |
no_comment
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | urpme | 16 | ||||
-rwxr-xr-x | urpmi | 16 | ||||
-rwxr-xr-x | urpmi.addmedia | 1 | ||||
-rw-r--r-- | urpmi.spec | 5 |
5 files changed, 41 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2000-06-03 Pixel <pixel@mandrakesoft.com> + + * urpmi.addmedia (substInFile): die if no rpm were found + 2000-05-04 Pixel <pixel@mandrakesoft.com> * urpmi: unset IFS @@ -1,5 +1,21 @@ #!/usr/bin/perl +# Copyright (C) 1999 MandrakeSoft (pixel@linux-mandrake.com) +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + local $_ = join '', @ARGV; /-h/ || @ARGV == 0 and die "usage: rpme [-a] [--auto] <packages...>\n"; @@ -1,5 +1,21 @@ #!/usr/bin/perl -T +# Copyright (C) 1999 MandrakeSoft (pixel@linux-mandrake.com) +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + load_po(); $ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"; diff --git a/urpmi.addmedia b/urpmi.addmedia index be89cdf1..dd2ba957 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -95,6 +95,7 @@ if (my ($prefix, $dir) = $url =~ m,^(removable_.*?|file):/(.*),) { if (-e $f) { system("cp -f $f $HDLIST"); } else { + glob("$dir/*") or die "No RPM-s found! Cowardly refusing to add $dir to urpmi DB.\n"; system("genhdlist_cz2 -o $HDLIST $dir"); } } else { @@ -2,7 +2,7 @@ Name: urpmi Version: 1.1 -Release: 6mdk +Release: 7mdk License: GPL Source0: %{name}.tar.bz2 Summary: User mode rpm install @@ -89,6 +89,9 @@ autoirpm.uninstall %changelog +* Tue Jun 13 2000 Pixel <pixel@mandrakesoft.com> 1.1-7mdk +- add require wget (needed for ftp hdlist's) + * Thu May 4 2000 Pixel <pixel@mandrakesoft.com> 1.1-6mdk - urpmi: unset IFS |