From a742810d673653c14efe74874562455ec0352994 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 25 Nov 2023 18:18:54 -0500 Subject: [PATCH] Add install script --- install.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..6376191 --- /dev/null +++ b/install.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +INSTALL_LOCATION="$HOME/.local/bin" + +echo "Installing scripts to $INSTALL_LOCATION" + +cp -v ./bkmark $INSTALL_LOCATION +cp -v ./fix_screens $INSTALL_LOCATION +cp -v ./mount_drive $INSTALL_LOCATION +cp -v ./passmenu $INSTALL_LOCATION +cp -v ./pipes.sh $INSTALL_LOCATION + +if [[ "$PATH:" != *":$HOME/.local/bin:"* ]]; then + echo "The install location ($INSTALL_LOCATION), is not in your PATH! Please add it to you path." +fi