From bbf36c683a8793fcf7ab8629d6c98759e3b52be2 Mon Sep 17 00:00:00 2001 From: VetheonGames Date: Mon, 10 Jun 2024 21:56:12 -0600 Subject: [PATCH] Fix minor bug --- rub2/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rub2/install.sh b/rub2/install.sh index b50bf22..c4f45c1 100755 --- a/rub2/install.sh +++ b/rub2/install.sh @@ -44,20 +44,20 @@ fi sudo mkdir -p /usr/bin/PixelRidge-Softworks/Ruby/ # Give execute permissions to the user -sudo chown -R $(whoami):$(whoami) /usr/bin/PixelRidge-Softworks/Ruby/ +sudo chown -R "$(whoami)":"$(whoami)" /usr/bin/PixelRidge-Softworks/Ruby/ sudo chmod -R +x /usr/bin/PixelRidge-Softworks/Ruby/ # Clone the repository sudo git clone https://git.pixelridgesoftworks.com/PixelRidge-Softworks/Ru-b2-SQL-Backups.git /usr/bin/PixelRidge-Softworks/Ruby/ # Install required gems -cd /usr/bin/PixelRidge-Softworks/Ruby/Ru-b2-SQL-Backups +cd /usr/bin/PixelRidge-Softworks/Ruby/Ru-b2-SQL-Backups || exit bundle install # Prompt user to run the program for the first time read -p "Do you want to run the program for the first time? (y/n) " answer if [[ $answer =~ ^[Yy]$ ]]; then - cd /usr/bin/PixelRidge-Softworks/Ruby/Ru-b2-SQL-Backups + cd /usr/bin/PixelRidge-Softworks/Ruby/Ru-b2-SQL-Backups || exit ./rub2 else exit 0