[neon/qt6/qt6-webengine/Neon/unstable] debian: put it into a oneshell bash snippet
Carlos De Maine
null at kde.org
Tue Sep 5 17:06:51 BST 2023
Git commit 5c0cb73a0567bf0744a98a0477d0b30c1f0b857c by Carlos De Maine.
Committed on 05/09/2023 at 18:06.
Pushed by carlosdem into branch 'Neon/unstable'.
put it into a oneshell bash snippet
M +9 -11 debian/rules
https://invent.kde.org/neon/qt6/qt6-webengine/-/commit/5c0cb73a0567bf0744a98a0477d0b30c1f0b857c
diff --git a/debian/rules b/debian/rules
index bb15a9f..f87dc2a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,17 +41,15 @@ override_dh_auto_clean:
rm -f $(CURDIR)/$${fname}; \
done
- # check stuffs
- cat ~/.profile
- ls -ls ~/.nvm/
- ls -ls ~/.nvm/versions/node/
- # init nvm and thus npm && # install needed nodejs deps with npm
- . /etc/profile.d/nvm-profile.sh && \
- npm install pako && \
- npm install rollup-plugin-terser && \
- npm install yargs
-
-
+ define run_npm =
+ # init nvm and thus npm && # install needed nodejs deps with npm
+ source /etc/profile.d/nvm-profile.sh
+ npm install pako
+ npm install rollup-plugin-terser
+ npm install yargs
+ endef
+ run_npm: ; $(value run_npm)
+ .ONESHELL:
# Turn on system FFmpeg libraries for 6.3
override_dh_auto_configure:
More information about the Neon-commits
mailing list