[Mageia-dev] [1555] Use /root/.MgaOnline for consistency

Cazzaniga Sandro cazzaniga.sandro at gmail.com
Fri May 27 18:29:31 CEST 2011


Le 27/05/2011 14:43, Thierry Vignaud a écrit :
> On 27 May 2011 13:35, Michael Scherer <misc at zarb.org> wrote:
>>>> >> > Modified: mgaonline/trunk/mgaonline.pm
>>>> >> > ===================================================================
>>>> >> > --- mgaonline/trunk/mgaonline.pm    2011-05-27 09:01:31 UTC (rev 1554)
>>>> >> > +++ mgaonline/trunk/mgaonline.pm    2011-05-27 10:03:00 UTC (rev 1555)
>>>> >> > @@ -162,7 +162,7 @@
>>>> >> >
>>>> >> >
>>>> >> >  sub clean_confdir() {
>>>> >> > -    my $confdir = '/root/.MdkOnline';
>>>> >> > +    my $confdir = '/root/.MgaOnline';
>>>> >> >      system "/bin/rm", "-f", "$confdir/*log.bz2", "$confdir/*log.bz2.uue",
>>>> >> > "$confdir/*.dif $confdir/rpm_qa_installed_before",
>>>> >> > "$confdir/rpm_qa_installed_after";
>>>> >> >  }
>> >
>> > system rm -f, am I the only one to find that's ugly ?
Maybe we can write an unlink() function?

-- 
Sandro Cazzaniga - https://lederniercoupdarchet.wordpress.com
IRC: Kharec (irc.freenode.net)
Software/Hardware geek
Conceptor
Magnum's Coordinator/editor (http://wiki.mandriva.com/fr/Magnum)
Mageia and Mandriva contributor


More information about the Mageia-dev mailing list