Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv2135/10.4/unstable/main/finkinfo/libs/perlmods
Modified Files: xml-sax-pm.info Log Message: Fix upgrade path from old location of ParserDetails.ini file Index: xml-sax-pm.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/xml-sax-pm.info,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- xml-sax-pm.info 15 Nov 2006 20:52:25 -0000 1.5 +++ xml-sax-pm.info 16 Nov 2006 01:45:23 -0000 1.6 @@ -1,7 +1,7 @@ Info2: << Package: xml-sax-pm%type_pkg[perl] Version: 0.14 -Revision: 2 +Revision: 3 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc Replaces: xml-sax-pm (<= 0.12-16), %{Ni}560, %{Ni}580, %{Ni}581, %{Ni}584, %{Ni}586 Source: mirror:cpan:authors/id/M/MS/MSERGEANT/XML-SAX-%v.tar.gz @@ -33,10 +33,13 @@ touch %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.ini elif [ "$1" = upgrade ] then - install -d -m 755 %p/etc/perl/XML + install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML if [ -d %p/etc/xml/SAX ] then - mv %p/etc/xml/SAX %p/etc/perl/XML + mv %p/etc/xml/SAX %p/etc/perl5/%type_raw[perl]/XML + elif [ -d %p/etc/perl/XML/SAX ] + then + mv %p/etc/perl/XML/SAX %p/etc/perl5/%type_raw[perl]/XML else install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML/SAX install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.d @@ -65,8 +68,8 @@ if [ "$1" = purge ] then rm -f %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.ini - cd %p/etc/perl && \ - rmdir -p XML/SAX/ParserDetails.d || true + cd %p/etc/perl5 && \ + rmdir -p %type_raw[perl]/XML/SAX/ParserDetails.d || true fi << Description: Perl Simple API for XML ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits