Skip to content

Commit

Permalink
fix: don't use deb default deps for other targets #502
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Jun 14, 2016
1 parent d8762db commit c3679e7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/linuxPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,12 @@ Icon=${this.metadata.name}

let depends = options.depends
if (depends == null) {
depends = ["libappindicator1", "libnotify-bin"]
if (target === "deb") {
depends = ["libappindicator1", "libnotify-bin"]
}
else {
depends = []
}
}
else if (!Array.isArray(depends)) {
if (typeof depends === "string") {
Expand Down

0 comments on commit c3679e7

Please sign in to comment.