advplyr / audiobookshelf-ppa

Personal Package Archive for Audiobookshelf
https://audiobookshelf.org
9 stars 2 forks source link

Incorrect use of /usr/share #7

Open lkiesow opened 1 year ago

lkiesow commented 1 year ago

The Audiobookshelf Debian package configures /usr/share/audiobookshelf/… to be used for binary files as well as for variable state information. This violates the Filesystem Hierarchy Standard which states for (/usr/share) architecture-independent data

The /usr/share hierarchy is for all read-only architecture independent data files.

Based on the FHS, I suggest the following changes:


Looking at /usr/share/audiobookshelf after an installation right now:

# ls -1d /usr/share/audiobookshelf/*
/usr/share/audiobookshelf/audiobookshelf
/usr/share/audiobookshelf/config
/usr/share/audiobookshelf/metadata