WRe: New and having problems
- Posted by irv May 18, 2016
- 1749 views
locate_file will need some help, and file_exists may not be the best choice. Try file_type(locate(file(...
file_type will return 0 for "not found', 1 for 'file', and 2 for 'folder'. There's a chance someone might have a folder somewhere with a name the same as one of the listed pkg managers.