From ef2a1fcaa553d14d7731b284a5ac5e4a55c42936 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sun, 20 Mar 2016 11:19:18 -0700 Subject: [PATCH] Fix deb postinst script --- resources/linux/debian/postinst.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/linux/debian/postinst.template b/resources/linux/debian/postinst.template index 6cab809e71f..017e4a2857b 100755 --- a/resources/linux/debian/postinst.template +++ b/resources/linux/debian/postinst.template @@ -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 -- GitLab