]> git.pld-linux.org Git - packages/cryptofs-init.git/commitdiff
- reverting last change: removing new macros from %p{re,ost}{,un}
authorsaq <saq@pld-linux.org>
Thu, 26 Jul 2001 05:42:05 +0000 (05:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cryptofs-init.spec -> 1.4

cryptofs-init.spec

index 94cdb9a7a499c44fcd59d2d32af50d80f5d769f8..0b911d95649c9283095612d21ce900c4110a59d1 100644 (file)
@@ -34,10 +34,12 @@ rm -rf $RPM_BUILD_ROOT
 gzip -9nf modules.conf cryptofstab.example README
 
 %post
-NAME=cryptofs; %chkconfig_add
+/sbin/chkconfig --add cryptofs
 
-%preun
-NAME=cryptofs; %chkconfig_del
+%postun
+if [ "$1" = "0" ]; then
+       /sbin/chkconfig --del cryptofs
+fi
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.055925 seconds and 4 git commands to generate.