[neon/neon-packaging/nvm/Neon/unstable] debian: Update postinst
Carlos De Maine
null at kde.org
Mon Sep 4 13:41:03 BST 2023
Git commit 131acd2205cd090c0f7a95f045d6674531f28f31 by Carlos De Maine.
Committed on 04/09/2023 at 14:41.
Pushed by carlosdem into branch 'Neon/unstable'.
Update postinst
M +3 -1 debian/postinst
https://invent.kde.org/neon/neon-packaging/nvm/-/commit/131acd2205cd090c0f7a95f045d6674531f28f31
diff --git a/debian/postinst b/debian/postinst
index 2bb7997..d94c30d 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -4,9 +4,11 @@
source /usr/share/nvm/init-nvm.sh
source /usr/share/nvm/install-nvm-exec
source ~/.nvm/nvm.sh
-# initialise bash completions
+# initialise system wide installs
echo 'PATH="$HOME/.local/bin:$PATH"
export npm_config_prefix="$HOME/.local"' >> ~/.profile
# install nodejs 18.5.0 and make system wide default
nvm install 18.5.0
nvm alias default 18.5.0
+# once more for good luck
+source ~/.nvm/nvm.sh
More information about the Neon-commits
mailing list