sublimetext update
This commit is contained in:
@@ -7,16 +7,16 @@ source "$( dirname $(readlink -e -- "${BASH_SOURCE}"))/../helpers.sh" || exit 25
|
|||||||
# https://gist.github.com/lugrus2000/1fc55158b87f94d799392a6dd1ac0ce2
|
# https://gist.github.com/lugrus2000/1fc55158b87f94d799392a6dd1ac0ce2
|
||||||
# https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47
|
# https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47
|
||||||
|
|
||||||
[ "$1" ] && STVER="$1" || STVER='4189'
|
[ "$1" ] && STVER="$1" || STVER='4192'
|
||||||
|
|
||||||
title
|
title
|
||||||
|
|
||||||
mkdir -p "$HOME/install"
|
mkdir -p "$HOME/install"
|
||||||
DEB_PATH="$HOME/install/sublime-text_build-${SMVER}_amd64.deb"
|
DEB_PATH="$HOME/install/sublime-text_build-${STVER}_amd64.deb"
|
||||||
BIN_PATH="/opt/sublime_text/sublime_text"
|
BIN_PATH="/opt/sublime_text/sublime_text"
|
||||||
|
|
||||||
if [[ ! -f "$DEB_PATH" ]]; then
|
if [[ ! -f "$DEB_PATH" ]]; then
|
||||||
download https://download.sublimetext.com/sublime-text_build-${STVER}_amd64.deb "$DEB_PATH"
|
download "https://download.sublimetext.com/sublime-text_build-${STVER}_amd64.deb" "$DEB_PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo dpkg -i "$DEB_PATH"
|
sudo dpkg -i "$DEB_PATH"
|
||||||
|
|||||||
Reference in New Issue
Block a user