1
0
mirror of synced 2026-01-21 09:53:08 +00:00

2006-05-23 17:37:21 by steve

Attempt to install openssh with yum.  Untested.
This commit is contained in:
steve 2006-05-23 17:37:21 +00:00
parent 5f7f728ffc
commit a9e20bacee

View File

@ -12,8 +12,20 @@
prefix=$1
if [ "${rpmstrap}" ]; then
echo "ssh installation for non-Debian distribution ${dist} is not available."
exit;
#
# Use yum to install openssh if we can.
#
if [[ -x ${prefix}/usr/bin/yum ]]; then
chroot ${prefix}/usr/bin/yum -y install openssh-server
else
echo "I don't know how to install OpenSSH for your distro."
fi
#
# Finished.
#
exit
fi
#