Probably not the best time to submit a patch, but I've been holding on to this 
for a while, I will probably be making use of this script in the debian package.

Thank you for your time,
-Chase
From 6a34644c4bb1d27b39fc52baadfdf36c5000a729 Mon Sep 17 00:00:00 2001
From: chase <ch...@localhost.com>
Date: Fri, 25 May 2018 13:51:21 -0500
Subject: [PATCH] dinstallCDE.src: add linux and *BSD support

---
 cde/admin/IntegTools/dbTools/dinstallCDE.src | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/cde/admin/IntegTools/dbTools/dinstallCDE.src b/cde/admin/IntegTools/dbTools/dinstallCDE.src
index a579a3c8..b1496c97 100755
--- a/cde/admin/IntegTools/dbTools/dinstallCDE.src
+++ b/cde/admin/IntegTools/dbTools/dinstallCDE.src
@@ -154,6 +154,22 @@ XCOMM
   then
     PLATFORM=sun
     PLATFORM_SCRIPT_DIR=sun
+  elif [ $BUILDSYSTEM = "Linux" ];
+  then
+    PLATFORM=linux
+    PLATFORM_SCRIPT_DIR=linux
+  elif [ $BUILDSYSTEM = "FreeBSD" ];
+  then
+    PLATFORM="freebsd"
+    PLATFORM_SCRIPT_DIR="freebsd"
+  elif [ $BUILDSYSTEM = "OpenBSD" ];
+  then
+    PLATFORM="openbsd"
+    PLATFORM_SCRIPT_DIR="openbsd"
+  elif [ $BUILDSYSTEM = "NetBSD" ];
+  then
+    PLATFORM="netbsd"
+    PLATFORM_SCRIPT_DIR="netbsd"
   else			# Build system = HP
     PLATFORM=hp-ux
     PLATFORM_SCRIPT_DIR=hp
-- 
2.17.0

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to