Skip to content

Commit f27b600

Browse files
committed
make the libappindicator1 dependency prerelease-only
Fixes keybase/keybase-issues#2087.
1 parent c206b21 commit f27b600

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎packaging/linux/deb/control.template‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ Installed-Size: @@SIZE@@
55
Maintainer: Keybase Bugs <bugs@keybase.io>
66
Section: misc
77
Priority: optional
8-
Depends: libappindicator1
8+
Depends: @@DEPENDENCIES@@
99
Description: Keybase's command line client

‎packaging/linux/deb/package_binaries.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ version="$(cat "$build_root/VERSION")"
2222
mode="$(cat "$build_root/MODE")"
2323

2424
name="$("$here/../../binary_name.sh" "$mode")"
25+
dependencies=""
2526

2627
if [ "$mode" = "production" ] ; then
2728
repo_url="http://dist.keybase.io/linux/deb/repo"
2829
elif [ "$mode" = "prerelease" ] ; then
2930
repo_url="http://s3.amazonaws.com/prerelease.keybase.io/deb"
31+
dependencies="libappindicator1"
3032
elif [ "$mode" = "staging" ] ; then
3133
# Note: This doesn't exist yet. But we need to be distinct from the
3234
# production URL, because we're moving to a model where we build a clean repo
@@ -55,6 +57,7 @@ build_one_architecture() {
5557
| sed "s/@@VERSION@@/$version/" \
5658
| sed "s/@@ARCHITECTURE@@/$debian_arch/" \
5759
| sed "s/@@SIZE@@/$size/" \
60+
| sed "s/@@DEPENDENCIES@@/$dependencies/" \
5861
> "$dest/build/DEBIAN/control"
5962
postinst_file="$dest/build/DEBIAN/postinst"
6063
cat "$here/postinst.template" \

0 commit comments

Comments
 (0)