add troubleshooting message

This commit is contained in:
deeplow 2021-06-04 13:59:07 +00:00 committed by deeplow
parent 185f33eb7e
commit 036d89eaa0
No known key found for this signature in database
GPG Key ID: 577982871529A52A

View File

@ -128,7 +128,7 @@ fi
set -e
ssh testbench mkdir -p "${TMPDIR}"
scp "${@}" testbench:"${TMPDIR}"
scp "${@}" testbench:"${TMPDIR}" || echo "check if you have 'scp' installed on your testbench"
while [ $# -gt 0 ]; do
ssh testbench sudo rpm -i --replacepkgs --replacefiles "${TMPDIR}/$(basename ${1})"