mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
mageia bootstrap
This commit is contained in:
parent
8bfda79fd6
commit
21187b7c1b
2 changed files with 27 additions and 0 deletions
24
bootstrap/_mageia_common.sh
Executable file
24
bootstrap/_mageia_common.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Tested on mageia 5 x86_64
|
||||
if ! urpmi --force \
|
||||
python \
|
||||
libpython-devel \
|
||||
python-virtualenv
|
||||
then
|
||||
echo "Could not install Python dependencies. Aborting bootstrap!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! urpmi --force \
|
||||
git \
|
||||
gcc \
|
||||
cdialog \
|
||||
python-augeas \
|
||||
libopenssl-devel \
|
||||
libffi-devel \
|
||||
rootcerts
|
||||
then
|
||||
echo "Could not install additional dependencies. Aborting bootstrap!"
|
||||
exit 1
|
||||
fi
|
||||
|
|
@ -122,6 +122,9 @@ then
|
|||
if [ -f /etc/debian_version ] ; then
|
||||
echo "Bootstrapping dependencies for Debian-based OSes..."
|
||||
$SUDO $BOOTSTRAP/_deb_common.sh
|
||||
elif [ -f /etc/mageia-release ] ; then
|
||||
echo "Bootstrapping dependencies for mageia..."
|
||||
$SUDO $BOOTSTRAP/_mageia_common.sh
|
||||
elif [ -f /etc/redhat-release ] ; then
|
||||
echo "Bootstrapping dependencies for RedHat-based OSes..."
|
||||
$SUDO $BOOTSTRAP/_rpm_common.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue