Remove the legacy Linux bin command when installing stable
This commit is contained in:
parent
4763e93279
commit
b6486f7ddf
|
@ -8,6 +8,11 @@
|
|||
# developers would prefer a terminal editor as the default.
|
||||
update-alternatives --install /usr/bin/editor editor /usr/bin/@@NAME@@ 0
|
||||
|
||||
# Remove the legacy bin command if this is the stable build
|
||||
if [ "@@NAME@@" = "code"] then
|
||||
rm -rf /usr/local/bin/code
|
||||
fi
|
||||
|
||||
# Register repository as an apt source
|
||||
get_apt_config_value() {
|
||||
echo $(apt-config dump | grep "$1 " | sed -e "s/$1 \"//" -e "s/\";$//")
|
||||
|
|
Loading…
Reference in a new issue