1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

Merge branch 'dev' into release

This commit is contained in:
Massimo Candela
2023-01-09 14:12:22 +01:00
2 changed files with 9 additions and 1 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
node-bgpalerter (1.31.1-1) unstable; urgency=medium
* Don't strip packages.json
* inject a shebang top the bin script
-- John Bond <jbond@wikimedia.org> Fri, 06 Jan 2023 15:39:06 +0100
node-bgpalerter (1.29.0-1) unstable; urgency=medium
* Initial release

3
debian/rules vendored
View File

@@ -16,7 +16,7 @@ override_dh_auto_install:
npm install --prefix "${CURDIR}/debian/node-bgpalerter/usr" -g ${CURDIR}/build/bgpalerter-*.tgz
find "${CURDIR}/debian/node-bgpalerter/usr" \
\( -name .npmignore -o -name .eslintrc -o -name .eslintrc.js -o -name \*.md -o -name LICENSE \
-o -name LICENSE-jsbn -o -name package.json -o -name .gitmodules -o -name .gitattributes \) \
-o -name LICENSE-jsbn -o -name .gitmodules -o -name .gitattributes \) \
-type f -delete
find "${CURDIR}/debian/node-bgpalerter/usr/lib/node_modules/bgpalerter/node_modules" \
\( -name examples -name .bin -o -name bin \) -type d -exec rm -rf {} +
@@ -27,6 +27,7 @@ override_dh_link:
override_dh_fixperms:
dh_fixperms
sed -i '1i #!/usr/bin/node' "${CURDIR}/debian/node-bgpalerter/usr/lib/node_modules/bgpalerter/index.js"
chmod +x "${CURDIR}/debian/node-bgpalerter/usr/lib/node_modules/bgpalerter/index.js"
override_dh_auto_clean: