From 1b5d7938c1ffee3a91f5f2623f71a0dbef07330d Mon Sep 17 00:00:00 2001 From: Peter Petrov Date: Fri, 14 Oct 2016 20:52:07 +0300 Subject: [PATCH] Change DEB nodejs relation from Depends to Recommends (#916) * 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 --- resources/debian/control.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/debian/control.in b/resources/debian/control.in index c41fe61c4a..2a2ccf528c 100644 --- a/resources/debian/control.in +++ b/resources/debian/control.in @@ -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