Add JetBrains toolbox to copy.sh
This commit is contained in:
parent
599937b806
commit
081998a894
13
copy.sh
13
copy.sh
|
@ -74,4 +74,17 @@ else
|
|||
echo "already installed."
|
||||
fi
|
||||
|
||||
echo "JetBrains toolbox is "
|
||||
if ! test -f $HOME/.config/JetBrains/; then
|
||||
echo "not installed. Installing..."
|
||||
ARCHIVE_URL="$(curl -s 'https://data.services.jetbrains.com/products/releases?code=TBA&latest=true&type=release' | grep -Po '"linux":.*?[^\\]",' | awk -F ':' '{print $3,":"$4}'| sed 's/[", ]//g')"
|
||||
wget -q --show-progress -cO "/tmp/jetbrains-toolbox-latest.tar.gz" "$ARCHIVE_URL"
|
||||
cd /tmp/
|
||||
tar -xvf jetbrains-toolbox-latest.tar.gz --strip-components=1
|
||||
chmod +x jetbrains-toolbox
|
||||
./jetbrains-toolbox
|
||||
else
|
||||
echo "already installed."
|
||||
fi
|
||||
|
||||
echo "You may wish to install fzf for sofi and other search"
|
||||
|
|
Loading…
Reference in New Issue