diff --git a/plugins/php-yum/index_php_yum.py b/plugins/php-yum/index_php_yum.py index 5a421e423..1a77fb329 100755 --- a/plugins/php-yum/index_php_yum.py +++ b/plugins/php-yum/index_php_yum.py @@ -17,12 +17,6 @@ try: except Exception as e: import core.mw as mw -if mw.isAppleSystem(): - cmd = 'ls /usr/local/lib/ | grep python | cut -d \\ -f 1 | awk \'END {print}\'' - info = mw.execShell(cmd) - p = "/usr/local/lib/" + info[0].strip() + "/site-packages" - sys.path.append(p) - app_debug = False if mw.isAppleSystem(): app_debug = True