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:
parent
51ab0d9aa3
commit
5afe759794
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue