Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #924 from DeeDeeG/no-deduping-in-postinstall
Browse files Browse the repository at this point in the history
script: Remove automatic deduping from postinstall
  • Loading branch information
sadick254 authored May 20, 2021
2 parents 231324c + 7be56b8 commit 0057189
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
9 changes: 0 additions & 9 deletions script/postinstall.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,3 @@ echo.
for /f "delims=" %%i in ('.\bin\node.exe -p "process.version + ' ' + process.arch"') do set bundledVersion=%%i
echo ^>^> Rebuilding apm dependencies with bundled Node !bundledVersion!
call .\bin\npm.cmd rebuild

if defined NO_APM_DEDUPE (
echo.
echo ^>^> Deduplication disabled
) else (
echo.
echo ^>^> Deduping apm dependencies
call .\bin\npm.cmd dedupe
)
8 changes: 0 additions & 8 deletions script/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,3 @@ node script/download-node.js
echo
echo ">> Rebuilding apm dependencies with bundled Node $(./bin/node -p "process.version + ' ' + process.arch")"
./bin/npm rebuild

echo
if [ -z "${NO_APM_DEDUPE}" ]; then
echo ">> Deduping apm dependencies"
./bin/npm dedupe
else
echo ">> Deduplication disabled"
fi

0 comments on commit 0057189

Please sign in to comment.