Skip to content

gnss-config: create /var/cache/gnss-share dir at runtime

Clayton Craft requested to merge craftyguy/librem5-agps:create_cache_dir into main

Distros that don't use debian packaging will fail if gnss-config is run before gnss-share, since /var/cache/gnss-share won't exist. This attempts to create it. I tossed it in the same try/except block as the file write, since you're just catching a generic Exception class there anyways.

Merge request reports