SOURCES: service_generator.sh - sysconfig/rpm might not be present...
glen
glen at pld-linux.org
Fri Jan 20 23:42:03 CET 2006
Author: glen Date: Fri Jan 20 22:42:03 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- sysconfig/rpm might not be present there if you install package with %service as first thing into new root, without rpm-base being installed
---- Files affected:
SOURCES:
service_generator.sh (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/service_generator.sh
diff -u SOURCES/service_generator.sh:1.2 SOURCES/service_generator.sh:1.3
--- SOURCES/service_generator.sh:1.2 Thu Dec 1 02:49:30 2005
+++ SOURCES/service_generator.sh Fri Jan 20 23:41:58 2006
@@ -37,7 +37,7 @@
cat <<-EOF
skip_auto_restart() {
- . /etc/sysconfig/rpm
+ [ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/$service ] && . /etc/sysconfig/$service
echo \${RPM_SKIP_AUTO_RESTART:-no}
};
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/service_generator.sh?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list