mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 19:52:34 +02:00
Merge pull request #2943 from MichalMMac/master
Ensure /usr/local/lib/ exists in mac.sh bootstraper
This commit is contained in:
@@ -26,7 +26,8 @@ BootstrapMac() {
|
|||||||
# Workaround for _dlopen not finding augeas on OS X
|
# 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
|
if [ "$pkgman" = "port" ] && ! [ -e "/usr/local/lib/libaugeas.dylib" ] && [ -e "/opt/local/lib/libaugeas.dylib" ]; then
|
||||||
echo "Applying augeas workaround"
|
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
|
fi
|
||||||
|
|
||||||
if ! hash pip 2>/dev/null; then
|
if ! hash pip 2>/dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user