[neon/qt6/qt6-webengine/Neon/unstable] debian: source /root/.nvm/nvm.sh directly.

Scarlett Moore null at kde.org
Tue Sep 5 19:12:37 BST 2023


Git commit 11e3684f2eebff863b744c717bd9b1b18c594a6b by Scarlett Moore.
Committed on 05/09/2023 at 20:11.
Pushed by scarlettmoore into branch 'Neon/unstable'.

source /root/.nvm/nvm.sh directly.

M  +1    -1    debian/rules

https://invent.kde.org/neon/qt6/qt6-webengine/-/commit/11e3684f2eebff863b744c717bd9b1b18c594a6b

diff --git a/debian/rules b/debian/rules
index f5dd1f2..44f6693 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,7 +51,7 @@ override_dh_auto_clean:
 # 	run_npm: ; $(value run_npm)
 # 	.ONESHELL:
 	export NVM_DIR=$(HOME)/.nvm" && \
-	[ -s "$(NVM_DIR)/nvm.sh" ] && \. "$(NVM_DIR)/nvm.sh" && \ # This loads nvm
+	source /root/.nvm/nvm.sh && \ # This loads nvm
 	npm install pako && \
 	npm install rollup-plugin-terser && \
 	npm install yargs


More information about the Neon-commits mailing list