diff options
author | Francois Pons <fpons@mandriva.com> | 2000-08-31 16:23:35 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-08-31 16:23:35 +0000 |
commit | f667b15f2f8e00633870646b7a8b08f33118f248 (patch) | |
tree | 91edec05863db38daf560b206f98d090853407d7 | |
parent | a776556def1b27c1a42aee9468e65f85cbf9f108 (diff) | |
download | urpmi-f667b15f2f8e00633870646b7a8b08f33118f248.tar urpmi-f667b15f2f8e00633870646b7a8b08f33118f248.tar.gz urpmi-f667b15f2f8e00633870646b7a8b08f33118f248.tar.bz2 urpmi-f667b15f2f8e00633870646b7a8b08f33118f248.tar.xz urpmi-f667b15f2f8e00633870646b7a8b08f33118f248.zip |
*** empty log message ***
-rwxr-xr-x | urpmf | 2 | ||||
-rwxr-xr-x | urpmi | 1 | ||||
-rw-r--r-- | urpmi.spec | 14 |
3 files changed, 15 insertions, 2 deletions
@@ -9,7 +9,7 @@ dir="/var/lib/urpmi" if /bin/ls $dir/hdlist.* >/dev/null 2>/dev/null; then - packdrake -c $dir/hdlist.* | hdlist2files - | grep -E "$1" + packdrake -c $dir/hdlist.* | parsehdlist --files --quiet - | grep -E "$1" else echo "urpmi is not installed" exit 1 @@ -60,6 +60,7 @@ sub usage { #- parse arguments list. my @nextargv; for (@ARGV) { + /^--help$/ and do { usage; next }; /^--auto$/ and do { $auto = 1; next }; /^--force$/ and do { $force = 1; next }; /^--X$/ and do { $X = 1; next }; @@ -2,7 +2,7 @@ Name: urpmi Version: 1.3 -Release: 1mdk +Release: 2mdk License: GPL Source0: %{name}.tar.bz2 Summary: User mode rpm install @@ -67,6 +67,12 @@ if [ "$1" = "0" ]; then fi exit 0 +%post +if [ -r /var/lib/urpmi/depslist ]; then + rm -f /var/lib/urpmi/depslist + [ -z "$DURING_INSTALL" ] && %{_sbindir}/urpmi.updatemedia +fi + %preun -n autoirpm autoirpm.uninstall @@ -96,6 +102,12 @@ autoirpm.uninstall %changelog +* Tue Aug 31 2000 François Pons <fpons@mandrakesoft.com> 1.3-2mdk +- added code to proper upgrade of urpmi 1.2. +- added small correction in urpmi for basesystem selection. +- fixed help invocation (thanks to Bryan Paxton). +- modified urpmf not to use rpmtools-compat. + * Mon Aug 28 2000 François Pons <fpons@mandrakesoft.com> 1.3-1mdk - 1.3 of urpmi. - use rpmtools perl interface to access hdlist and build requires. |