]> git.pld-linux.org Git - packages/sbcl.git/commitdiff
- controller bugfixes
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 10 Oct 2016 18:28:47 +0000 (20:28 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 10 Oct 2016 18:28:47 +0000 (20:28 +0200)
sbcl.spec

index d235e2b0a93054964dc644ef6f92d36248a5319d..170e33ac5c5eb55ef2caac50aa4d3e270fb44bfa 100644 (file)
--- a/sbcl.spec
+++ b/sbcl.spec
@@ -167,16 +167,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %env_update
-%if %{with common_lisp_controller}
+%if %{with cl_controller}
+test -f %{_libdir}/%{name}/sbcl.core || cp -p %{_libdir}/%{name}/sbcl-dist.core %{_libdir}/%{name}/sbcl.core
 /usr/sbin/register-common-lisp-implementation sbcl >/dev/null 2>&1 ||:
 %endif
 
 %postun
 %env_update
 
-%if %{with common_lisp_controller}
+%if %{with cl_controller}
 if [ $1 -eq 0 ]; then
-    /usr/sbin/unregister-common-lisp-implementation sbcl >/dev/null 2>&1 ||:
+       /usr/sbin/unregister-common-lisp-implementation sbcl >/dev/null 2>&1 ||:
 endif
 %endif
 
This page took 0.207115 seconds and 4 git commands to generate.