From d74b731593180aca3ce672d3294939cc9855c430 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 24 Oct 2021 01:40:14 -0400 Subject: [PATCH] Configure-stormux added. --- files/usr/local/bin/configure-stormux | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 files/usr/local/bin/configure-stormux diff --git a/files/usr/local/bin/configure-stormux b/files/usr/local/bin/configure-stormux new file mode 100755 index 0000000..12173cf --- /dev/null +++ b/files/usr/local/bin/configure-stormux @@ -0,0 +1,12 @@ +#!/bin/bash + +trap 'popd &> /dev/null' EXIT +if [[ ! -d /opt/configure-stormux ]]; then + echo "Installing configure-stormux..." + sudo git -C /opt clone https://gitlab.com/stormux/configure-stormux.git || exit 1 +fi + +pushd /opt/configure-stormux +./configure-stormux.sh + +exit 0