]> git.pld-linux.org Git - packages/bootsplash.git/commitdiff
- added chkconfig stuff (its off by default anyway, cause
authorhavner <havner@pld-linux.org>
Fri, 7 Jul 2006 16:12:53 +0000 (16:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  BOOT_SPLASH_CONSOLES in default sysconfig file is empty)

Changed files:
    bootsplash.spec -> 1.29

bootsplash.spec

index efd4604f285b3a46d7159c1ce9e3951ba5b73b6e..17e9be3cf197a4a93e4d5af22305fd20426a2300 100644 (file)
@@ -20,6 +20,7 @@ Patch0:               %{name}-3.2_makefile_libmng.patch
 URL:           http://www.bootsplash.org/
 BuildRequires: freetype-devel >= 2.1
 BuildRequires: libmng-devel
+Requires(post,preun):  /sbin/chkconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _bindir /bin
@@ -65,6 +66,15 @@ install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+/sbin/chkconfig --add bootsplash
+
+%preun
+if [ "$1" = "0" ]; then
+       %service bootsplash stop
+       /sbin/chkconfig --del bootsplash
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc {Documentation,Utilities}/README.*
This page took 0.099048 seconds and 4 git commands to generate.