[neon/neon-packaging/nvm/Neon/unstable] debian: refine

Carlos De Maine null at kde.org
Mon Sep 4 15:54:54 BST 2023


Git commit 51f92183b18c162d1740cb9a32e4526f5292f570 by Carlos De Maine.
Committed on 04/09/2023 at 16:54.
Pushed by carlosdem into branch 'Neon/unstable'.

refine

M  +1    -2    debian/postinst

https://invent.kde.org/neon/neon-packaging/nvm/-/commit/51f92183b18c162d1740cb9a32e4526f5292f570

diff --git a/debian/postinst b/debian/postinst
index d94c30d..5499681 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -7,8 +7,7 @@ source ~/.nvm/nvm.sh
 # initialise system wide installs
 echo 'PATH="$HOME/.local/bin:$PATH"
 export npm_config_prefix="$HOME/.local"' >> ~/.profile
+echo 'source ~/.nvm/nvm.sh' >> ~/.bashrc
 # 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