No longer attempt to install the Sublime Text editor during vagrant up (#432)

* No longer attempt to install the Sublime Text editor during `vagrant up`
Starting around 2021-Sep, the official published instructions for
installing Sublime Text on Ubuntu Linux no longer seem to work.  If
this continues for much longer, it would be a good idea if the
`vagrant up` scripts no longer attempted to install it.

* Remove remaining mentions of Sublime in directory vm-ubuntu-20.04
This commit is contained in:
Andy Fingerhut 2021-10-17 11:38:39 -07:00 committed by GitHub
parent 394f42f8ff
commit 9ebb7e5c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 28 deletions

View File

@ -36,8 +36,8 @@ new VM very often (a couple of times per year?).
+ Close "Desktop preferences" window
+ Several of the icons on the desktop have an exclamation mark on
them. If you try double-clicking those icons, it pops up a window
saying "This file 'Sublime Text' seems to be a desktop entry. What
do you want to do with it?" with buttons for "Open", "Execute", and
saying "This file 'Wireshark' seems to be a desktop entry. What do
you want to do with it?" with buttons for "Open", "Execute", and
"Cancel". Clicking "Open" causes the file to be opened using the
Atom editor. Clicking "Execute" executes the associated command.
If you do a mouse middle click on one of these desktop icons, a
@ -46,7 +46,6 @@ new VM very often (a couple of times per year?).
and future double-clicks of the icon execute the program without
first popping up a window to choose between Open/Execute/Cancel. I
did that for each of these desktop icons:
+ Sublime Text
+ Terminal
+ Wireshark
+ Log off

View File

@ -3,19 +3,6 @@
# Print commands and exit on errors
set -xe
# Sublime 3 install steps came from this page on 2020-May-11:
# https://www.sublimetext.com/docs/3/linux_repositories.html#apt
# The commands were modified only to remove 'sudo' from several
# commands. sudo is unnecessary here since this entire script is
# executed as the user root.
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add -
apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
# These commands are done later below
#apt-get update
#apt-get install sublime-text
# Atom install steps came from this page on 2020-May-11:
# https://flight-manual.atom.io/getting-started/sections/installing-atom/#platform-linux
@ -77,7 +64,6 @@ apt-get install -y --no-install-recommends --fix-missing\
python3-dev \
python3-pip \
python3-setuptools \
sublime-text \
tcpdump \
unzip \
valgrind \

View File

@ -288,17 +288,6 @@ Exec=/usr/bin/wireshark
Comment[en_US]=
EOF
cat > ${DESKTOP}/Sublime\ Text.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Sublime Text
Name[en_US]=Sublime Text
Icon=sublime-text
Exec=/opt/sublime_text/sublime_text
Comment[en_US]=
EOF
sudo mkdir -p /home/p4/Desktop
sudo mv /home/${USER}/Desktop/* /home/p4/Desktop
sudo chown -R p4:p4 /home/p4/Desktop/