Hi Geoffroy,
I removed the tftp-server related command and added a line in
share/prereqs/base/prereq.cfg
For perl-Qt I'd actually expect yume to simply update the RPM if an old one is
installed. Anyway, if we know which distro comes with an obsolete perl-Qt
version, the file share/prereqs/base/prereq.cfg should be edited to delete
that package for exactly that distro.
Maybe it turns out that install_prereq has to become a bit smarter and learn
about version numbers in order to deal with commands like
!perl-Qt < 3
Still thinking about this...
Regards,
Erich
On Tuesday 14 March 2006 10:17, [EMAIL PROTECTED] wrote:
> Hello all,
>
> Two RPM commands are still in install_cluster:
>
> my $pqtv = `rpm -q --quiet --qf '%{VERSION}' perl-Qt 2>/dev/null`;
> if ( $pqtv && $pqtv < 3 ) {
> !system("rpm -e perl-Qt") or warn("Couldn't remove perl-Qt");
> oscar_log_subsection("Removing installed perl-Qt RPM because version is <
> 3");
> }
>
> # get rid of installed tftp-server, it conflicts with atftp
> # (there should be a check whether this is an RPM based distro here!)
> if (!system("rpm -q tftp-server >/dev/null 2>&1")) {
> oscar_log_subsection("Removing installed tftp-server RPM, this conflicts
> with
> OSCAR atftp-server");
> !system("rpm -e tftp-server") or warn("Couldn't remove tftp-server");
> }
>
> As you can imagine, these two commands are a big problem for the port to
> Debian.
> According to you what is the best way to deal with that? Just remove the
> commands? The new prereqs implementation deals that?
>
> Thanks,
>
> Geoffroy Vallee
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel