aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libLumina/make-linux-distro.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/libLumina/make-linux-distro.sh b/libLumina/make-linux-distro.sh
new file mode 100644
index 00000000..552894d5
--- /dev/null
+++ b/libLumina/make-linux-distro.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+#Quick script to ensure that the proper Linux distro template is selected within the libLumina build
+#NOTE: Provide the Distro Name as the input for this script
+# it will use the general -Linux template if a specific template is not available for that distro
+
+DISTRO=${1}
+#Only perform the change if a distro-specific file is available
+if [ -r LuminaOS-${DISTRO}.cpp ]; then
+ sed "s/LuminaOS-Linux.cpp/LuminaOS-${DISTRO}/" libLumina.pro
+fi
bgstack15