2006-05-23 17:37:21 by steve
Attempt to install openssh with yum. Untested.
This commit is contained in:
parent
5f7f728ffc
commit
a9e20bacee
@ -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
|
||||
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user