[fedora-java] db merging script
Phil Muldoon
pmuldoon at redhat.com
Tue Mar 22 22:41:19 UTC 2005
> %post
> update-alternatives --install %{_javadir}/servlet.jar servlet %{_javadir}/%{name}-%{version}.jar 50
> #update-alternatives --install %{_javadir}/jsp.jar jsp %{_javadir}/jsp-api-%{version}.jar 50
> + DB=`gcj-dbtool -p`
> + rm -f $DB
> + gcj-dbtool -n $DB
> + (cd $DB.d; ls . | xargs gcj-dbtool -m $DB)
I think it was Tom who suggested we should have some structure below the
location of the db location to allow for name collisions. Will the:
(cd $DB.d; ls . | xargs gcj-dbtool -m $DB)
account for
$DB.d/foo/foo.jar.so
and
$DB.d/bar/bar.jar.so
and so on?
Regards
Phil
More information about the java-devel
mailing list