[Lunar-commits] <moonbase> coreutils: don't lin mktemp if it's not installed already.

Florin Braescu florin at lunar-linux.org
Tue Nov 18 12:35:25 CET 2008


commit f789e09f8b9e7c260b332ae96b48a3f356a6176e
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Tue Nov 18 13:35:25 2008 +0200

    coreutils: don't lin mktemp if it's not installed already.
---
 utils/coreutils/PRE_BUILD |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/utils/coreutils/PRE_BUILD b/utils/coreutils/PRE_BUILD
index ebd8203..7bea34e 100644
--- a/utils/coreutils/PRE_BUILD
+++ b/utils/coreutils/PRE_BUILD
@@ -1,2 +1,4 @@
-lin -c mktemp
+if module_installed mktemp; then 
+  lin -c mktemp
+fi
 default_pre_build


More information about the Lunar-commits mailing list