Update install.sh
Signed-off-by: Connor C <ceo@pixelridgesoftworks.com>
This commit is contained in:
parent
0c482f7da3
commit
65079ccbee
|
@ -8,7 +8,7 @@ if [ "$distro" == "Ubuntu" ]; then
|
||||||
if ! dpkg -s ruby-full | grep -q "Version: 3.2.2"; then
|
if ! dpkg -s ruby-full | grep -q "Version: 3.2.2"; then
|
||||||
# Install rbenv and use it to install Ruby 3.0.5 and Bundler 2.4.6
|
# Install rbenv and use it to install Ruby 3.0.5 and Bundler 2.4.6
|
||||||
if [[ $(id -u) -ne 0 ]]; then
|
if [[ $(id -u) -ne 0 ]]; then
|
||||||
echo "Please enter your password to install rbenv, Ruby 3.2.1, Bundler 2.4.17, and the Ruby development kit"
|
echo "Please enter your password to install rbenv, Ruby 3.2.2, Bundler 2.4.17, and the Ruby development kit"
|
||||||
exec sudo "$0" "$@"
|
exec sudo "$0" "$@"
|
||||||
fi
|
fi
|
||||||
apt update
|
apt update
|
||||||
|
@ -48,7 +48,7 @@ sudo chown -R $(whoami):$(whoami) /usr/bin/PixelRidge-Softworks/Ruby/
|
||||||
sudo chmod -R +x /usr/bin/PixelRidge-Softworks/Ruby/
|
sudo chmod -R +x /usr/bin/PixelRidge-Softworks/Ruby/
|
||||||
|
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
sudo git clone https://github.com/PixelRidge-Softworks/Ru-b2-SQL-Backups.git /usr/bin/PixelRidge-Softworks/Ruby/
|
sudo git clone https://git.pixelridgesoftworks.com/PixelRidge-Softworks/Ru-b2-SQL-Backups.git /usr/bin/PixelRidge-Softworks/Ruby/
|
||||||
|
|
||||||
# Install required gems
|
# Install required gems
|
||||||
cd /usr/bin/PixelRidge-Softworks/Ruby/Ru-b2-SQL-Backups
|
cd /usr/bin/PixelRidge-Softworks/Ruby/Ru-b2-SQL-Backups
|
||||||
|
|
Loading…
Reference in New Issue
Block a user