network/dropbear: Fix backing up openssh scp.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-02-10 09:46:47 +13:00 committed by Willy Sudiarto Raharjo
parent 51ab0d9aa3
commit 5afe759794
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dropbear
VERSION=${VERSION:-2020.81}
SRCVERSION="DROPBEAR_$VERSION"
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -131,7 +131,7 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
if [ "$WITH_SCOPE" = "yes" ] ; then
if [ "$WITH_SCP" = "yes" ] ; then
cat << EOF >> $PKG/install/doinst.sh
if [ -e usr/bin/scp ]; then
mv usr/bin/scp usr/bin/scp.openssh