Commit 6b714189 authored by supechicken666's avatar supechicken666 Committed by GitHub

Update crew

parent f8645919
......@@ -214,7 +214,8 @@ def generate_compatible
end
def search (pkgName, silent = false)
return set_package(pkgName, filename) if File.exist?(CREW_LIB_PATH + 'packages/' + pkgName + '.rb')
pkgPath = CREW_LIB_PATH + 'packages/' + pkgName + '.rb'
return set_package(pkgName, pkgPath) if File.exist?(pkgPath)
abort "Package #{pkgName} not found. :(".lightred unless silent
end
......
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