Commit 4bedb662 authored by gonciarz's avatar gonciarz

fixing for port

parent f13f117f
......@@ -27,11 +27,11 @@ function discover_package_manager() {
return
fi
command -v port >/dev/null
if [ command -v port >/dev/null 2>&1 ]; then
if [ $? -eq 0 ]; then
discover_package_manager_ret="sudo port"
return
else
discover_package_manager_ret=""
discover_package_manager_ret="bla"
return
fi
elif [ x"$1" = x"linux" ]; then
......@@ -56,5 +56,4 @@ function discover_package_manager() {
fi
}
echo "$discover_package_manager_ret"
echo "$discover_package_manager_ret"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment