Skip to content

Commit

Permalink
dropbear: fix ssh alternative when dbclient isn't built
Browse files Browse the repository at this point in the history
The ssh symlink was still being created even when dbclient was disabled in the
build configuration. Fix this annoyance.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
  • Loading branch information
rsalvaterra authored and dedeckeh committed Aug 12, 2020
1 parent 6e7f40d commit e5eeb34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/network/services/dropbear/Makefile
Expand Up @@ -53,9 +53,9 @@ define Package/dropbear
CATEGORY:=Base system
TITLE:=Small SSH2 client/server
DEPENDS:= +DROPBEAR_ZLIB:zlib
ALTERNATIVES:=\
100:/usr/bin/ssh:/usr/sbin/dropbear \
100:/usr/bin/scp:/usr/sbin/dropbear \
ALTERNATIVES:=100:/usr/bin/scp:/usr/sbin/dropbear
$(if $(CONFIG_DROPBEAR_DBCLIENT),ALTERNATIVES+= \
100:/usr/bin/ssh:/usr/sbin/dropbear,)

endef

Expand Down

0 comments on commit e5eeb34

Please sign in to comment.