Skip to content

Commit

Permalink
Change DEB nodejs relation from Depends to Recommends (#916)
Browse files Browse the repository at this point in the history
* Change DEB nodejs relation from Depends to Recommends

A "Recommends" relation preserves the out-of-the-box experience for most people,
as recommended packages are installed by default on modern Debian / Ubuntu
distros. But it allows people who install Node.js in a different manner to opt
out of the nodejs DEB package.

* Add "Conflicts" relationship with DEB nodejs < 4.0.0
  • Loading branch information
pesho authored and Daniel15 committed Oct 16, 2016
1 parent 41bb88e commit 1b5d793
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/debian/control.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Package: yarn
Version: $VERSION-1
Depends: nodejs (>= 4.0.0)
Recommends: nodejs
Conflicts: nodejs (< 4.0.0)
Section: devel
Priority: optional
Architecture: all
Expand Down

0 comments on commit 1b5d793

Please sign in to comment.