What did African black bears eat?

There are no bear species in Africa any more. The Atlas bear from North Africa is extinct, with the last one hunted to death in Morocco in 1890. Its diet was probably roots, acorns and nuts. The Atlas bear was, however, a brown bear subspecies.