[Lunar-commits] <moonbase-core> procps: fix the install if systemd is installed.

Florin Braescu florin at lunar-linux.org
Sun Nov 4 07:45:19 CET 2012


commit 0d9885bc4050e3165226f0e68bdc5e60f3dbeb36
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sat, 03 Nov 2012 23:45:19 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/0d9885bc4050e3165226f0e68bdc5e60f3dbeb36

procps: fix the install if systemd is installed.
---
  utils/procps/BUILD | +3/-1     
  1 file changed, 3 insertions(+), 1 deletion(-)

--- a/utils/procps/BUILD
+++ b/utils/procps/BUILD
@@ -17,7 +17,9 @@
   fi  &&
 
   cp $SCRIPT_DIRECTORY/init.d/sysctl /etc/init.d  &&
-  ln -sf ../init.d/sysctl /etc/rcS.d/S99sysctl    &&
+  if ! module_installed systemd; then
+    ln -sf ../init.d/sysctl /etc/rcS.d/S99sysctl
+  fi  &&
 
   if [ ! -e /etc/sysctl.conf ] ; then
     install -g0 -o0 -m0600 $SCRIPT_DIRECTORY/sysctl.conf /etc




More information about the Lunar-commits mailing list