void-packages/srcpkgs/vscode/patches/fix_dir.patch

13 lines
379 B
Diff

diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh
index 55f50b6f1c14..16b73343e6ea 100755
--- a/resources/linux/bin/code.sh
+++ b/resources/linux/bin/code.sh
@@ -26,7 +26,7 @@ else
VSCODE_PATH="$(dirname $(readlink -f $0))/.."
else
# else use the standard install location
- VSCODE_PATH="/usr/share/@@NAME@@"
+ VSCODE_PATH="/usr/lib/@@NAME@@"
fi
fi