#!/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