Logoj0ke.net Open Build Service > Projects > home:netmax:tools > inventory-system > Changes
Sign Up | Log In

Changes of Revision 97

[-] Changed _service:set_version:inventory-system.spec
x
 
1
@@ -77,7 +77,12 @@
2
 rm -rf %{buildroot}
3
 
4
 %post
5
-/sbin/chkconfig cups off || :
6
+if [ -f /etc/init.d/cups ] ; then
7
+   /sbin/chkconfig cups off || :
8
+fi
9
+if [ -f /etc/init.d/portreserve ] ; then
10
+   /sbin/chkconfig portreserve off || :
11
+fi
12
 
13
 %files
14
 %defattr(-,root,root)
15
[-] Changed inventory-system.spec ^
15
 
1
@@ -77,7 +77,12 @@
2
 rm -rf %{buildroot}
3
 
4
 %post
5
-/sbin/chkconfig cups off || :
6
+if [ -f /etc/init.d/cups ] ; then
7
+   /sbin/chkconfig cups off || :
8
+fi
9
+if [ -f /etc/init.d/portreserve ] ; then
10
+   /sbin/chkconfig portreserve off || :
11
+fi
12
 
13
 %files
14
 %defattr(-,root,root)
15