Fix deb postinst script
This commit is contained in:
parent
1912d41ac3
commit
ef2a1fcaa5
|
@ -9,7 +9,7 @@
|
|||
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
|
||||
if [ "@@NAME@@" = "code" ]; then
|
||||
rm -f /usr/local/bin/code
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue