]> git.pld-linux.org Git - packages/console-tools.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:30:42 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need rebuilt rpm (with new macros.pld) to build these

Changed files:
    console-tools.spec -> 1.44

console-tools.spec

index 3ec80a1b177a1776f54d7c79363a6e48a1399ba1..416d59bc1f1508a5f508c350dcbf368c3d5bf475 100644 (file)
@@ -99,13 +99,11 @@ gzip -9nf README NEWS BUGS doc/README.* doc/*.txt \
 %find_lang %{name}
 
 %post
-/sbin/chkconfig --add console
+NAME=console; %chkconfig_add
 /sbin/ldconfig
 
 %preun
-if [ "$1" = "0" ]; then
-       /sbin/chkconfig --del console
-fi
+NAME=console; %chkconfig_del
 
 %postun -p /sbin/ldconfig
 
This page took 0.077509 seconds and 4 git commands to generate.