[Cbe-oss-dev] [PATCH] libspe2: fixing already registered message for elfpe2
Kazunori Asayama
asayama at sm.sony.co.jp
Wed Jul 16 00:33:41 EST 2008
Gerhard Stenzel wrote:
> When uninstalling elfspe2 package, the package doesn't seem to be running the
> "/usr/bin/elfspe-unregister" script, so when the package gets reinstalled, it
> gives the "already registered" message. This patch fixes that.
Looks good. Please apply.
>
> Signed-off-by: Gerhard Stenzel <stenzel at de.ibm.com>
>
> ===================================================================
> Index: libspe2/libspe2.spec
> ===================================================================
> --- libspe2/libspe2.spec (revision 127)
> +++ libspe2/libspe2.spec (working copy)
> @@ -197,6 +197,7 @@ rm -rf $RPM_BUILD_ROOT
> %if %{build_common}
> %preun -n elfspe2
> [ -f %{_initdir}/elfspe ] && /sbin/chkconfig --del elfspe
> +[ -f %{_bindir}/elfspe-unregister ] && %{_bindir}/elfspe-unregister
>
> %post -n elfspe2
> [ -f %{_initdir}/elfspe ] && /sbin/chkconfig --add elfspe
> ===================================================================
>
> Best regards,
>
> Gerhard Stenzel, Linux on Cell Development, LTC
> -------------------------------------------------------------------------------------
> IBM Deutschland Research & Development GmbH
> Vorsitzender des Aufsichtsrats: Martin Jetter | Geschaeftsfuehrung: Herbert Kircher
> Sitz der Gesellschaft: Boeblingen | Registergericht: Amtsgericht Stuttgart, HRB 243294
--
(ASAYAMA Kazunori
(asayama at sm.sony.co.jp))
t
More information about the cbe-oss-dev
mailing list