Update 'install.sh'
This commit is contained in:
parent
64eb4c4155
commit
7b2af9c66f
12
install.sh
12
install.sh
@ -1,25 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo -e
|
||||
|
||||
cd /opt
|
||||
|
||||
# Get Latest GitKraken
|
||||
sudo wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
|
||||
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
|
||||
|
||||
# Extract
|
||||
sudo tar -xvzf gitkraken-amd64.tar.gz
|
||||
tar -xvzf gitkraken-amd64.tar.gz
|
||||
|
||||
# Remove tar.gz
|
||||
sudo rm -f gitkraken-amd64.tar.gz
|
||||
rm -f gitkraken-amd64.tar.gz
|
||||
|
||||
# Add gitkraken to PATH
|
||||
echo "export PATH=\$PATH:/opt/gitkraken" >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
|
||||
# Download gitkraken launcher icon
|
||||
sudo wget https://git.spectre5.com/adamcruz/install-gitkraken/raw/commit/e829f20289e0761e8b98bd5d86d36a4b4b0e24d0/gitkraken_logo.png
|
||||
sudo mv gitkraken_logo.png ./gitkraken/icon.png
|
||||
wget https://git.spectre5.com/adamcruz/install-gitkraken/raw/commit/e829f20289e0761e8b98bd5d86d36a4b4b0e24d0/gitkraken_logo.png
|
||||
mv gitkraken_logo.png ./gitkraken/icon.png
|
||||
|
||||
# Create desktop entry
|
||||
sudo touch /usr/share/applications/gitkraken.desktop
|
||||
|
||||
Loading…
Reference in New Issue
Block a user