aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-09-02 15:08:36 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-09-02 15:08:36 +0200
commitef73ef065ed1d2cb5f95b208d90369db93677323 (patch)
treefb248690008f024bd968e896a06cb482999c151e
parent35bcd7435109cf7d93d2f8b2057067ee19ec7a23 (diff)
Print warning before installing shell
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index fc87056..524ddc4 100755
--- a/install.sh
+++ b/install.sh
@@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-./shell_only.sh
-
set -e
echo -e "\e[1m\e[1;31mMAKE SURE YOU ARE IN THE DIRECTORY THIS SCRIPT IS LOCATED IN!"
@@ -24,6 +22,8 @@ echo -e "\e[0m\e[1;31mIf you're sure you are in the correct dir, press Enter."
read
echo -e "\e[0m"
+./shell_only.sh
+
function command_exists {
command -v $1 &> /dev/null
}