mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Ensure /usr/local/lib/ exists before creating libaugeas.dylib symlink in mac.sh bootstraper
This commit is contained in:
parent
38d7503f0f
commit
653c7b6327
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ BootstrapMac() {
|
|||
# Workaround for _dlopen not finding augeas on OS X
|
||||
if [ "$pkgman" = "port" ] && ! [ -e "/usr/local/lib/libaugeas.dylib" ] && [ -e "/opt/local/lib/libaugeas.dylib" ]; then
|
||||
echo "Applying augeas workaround"
|
||||
$SUDO ln -s /opt/local/lib/libaugeas.dylib /usr/local/lib
|
||||
$SUDO mkdir -p /usr/local/lib/
|
||||
$SUDO ln -s /opt/local/lib/libaugeas.dylib /usr/local/lib/
|
||||
fi
|
||||
|
||||
if ! hash pip 2>/dev/null; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue