Fixed bug with configure-stormux stub.

This commit is contained in:
Storm Dragon 2024-03-05 19:18:01 -05:00
parent b593494374
commit 16ae09c86d

View File

@ -1,8 +1,14 @@
#!/bin/bash
export SUDO_ASKPASS=/etc/audibleprompt.sh
trap 'popd &> /dev/null' EXIT
export SUDO_ASKPASS=/etc/audibleprompt.sh
if [[ -x /opt/configure-stormux/configure-stormux.sh ]]; then
pushd /opt/configure-stormux
./configure-stormux.sh
exit 0
fi
if [[ ! -d /opt/configure-stormux ]]; then
# Offer to switch fenrir layout.
echo "Would you like to switch Fenrir to laptop layout? (y/n)"
@ -48,6 +54,8 @@ echo "If you would like more options, run configure-stormux,"
echo "or you may configure your system manually."
echo
echo "Thank you for choosing Stormux."
echo
echo "Removing first run script..."