Featured image of post Instalar GitKraken

Instalar GitKraken

Script para instalar gitkraken

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash

# Download GitKraken
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz

# copy the downloaded file into /opt directory
cp gitkraken-amd64.tar.gz /opt/

cd /opt

# Extract the Kraken into /opt directory
tar -xvzf gitkraken-amd64.tar.gz

# you can apply ownership for a specific user too
# chown -R user:group /opt/gitkraken

# Add gitkraken to PATH
echo "export PATH=\$PATH:/opt/gitkraken" >> ~/.bashrc
source ~/.bashrc

# sudo ln -s /usr/lib64/libcurl.so.4 /opt/gitkraken/libcurl-gnutls.so.4
sudo ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4

# Create gitkraken launcher icon
# download icon here: http://img.informer.com/icons_mac/png/128/422/422255.png
# or here: https://drive.google.com/file/d/0B-3KQ_ohu-RFVkJyS1Zfa2NLSVE/view
wget http://img.informer.com/icons_mac/png/128/422/422255.png -o gitkraken-icon.png

mv gitkraken-icon.png /opt/gitkraken/

cd /usr/share/applications

cat > gitkraken.desktop <<EOL
[Desktop Entry]
Name=GitKraken
Comment=Git Flow
Exec=/opt/gitkraken/gitkraken
Icon=/opt/gitkraken/gitkraken-icon.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Utility;Development;
EOL

Fuente: github

comments powered by Disqus
Esto es el footer
Creado con Hugo
Tema Stack diseñado por Jimmy