12 Commits

Author SHA1 Message Date
Joshua M. Boniface
71d451ebb9 Improve layout and add cache bust to ldconfig 2025-10-23 18:01:02 -04:00
Joshua M. Boniface
a928d4ca6a Add fallback libjemalloc detect and better message 2025-10-20 13:43:55 -04:00
Joshua M. Boniface
ae0c9afb07 Bail if libjemalloc is not found 2025-10-07 09:39:01 -04:00
Joshua M. Boniface
7c9f0a3da1 Wrap libjemalloc symlink in conditional 2025-06-14 22:53:04 -04:00
Joshua M. Boniface
70b62123db Improve libjemalloc detection
Instead of using dpgk-architecture (in `dpkg-dev`), directly find the
file with ldconfig -p, a grep, an awk, and head -n1 to find the first
instance.

This is not very pretty but should work universally.
2025-06-14 22:45:46 -04:00
Joshua M. Boniface
90bf1c632a Properly support libjemalloc multiarch 2025-06-14 22:31:43 -04:00
Joshua M. Boniface
07c797fc78 Simplify service handling during postinst
1. Don't try to unmask the service; that's not in our purview.

1. Don't start the Jellyfin service if the
`DISABLE_JELLYFIN_AUTOSTART` environment variable is set. Allows
explicit disabling of Jellyfin starting during package updates.
2024-11-21 14:31:39 -05:00
Joshua M. Boniface
a85c22d5ad Fix bad spacing 2024-09-03 15:05:23 -04:00
Joshua M. Boniface
674709b0ee Improve ownership further
1. Loop instead of individual entries
2. Create the dirs if they don't exist
3. Use stat to check current user; if it's root, chown
2024-09-03 15:02:28 -04:00
Joshua M. Boniface
f1e361d211 Ensure CONFIGDATA is properly set up
Fixes #37
2024-08-25 23:21:13 -04:00
Joshua M. Boniface
5a4ba50dc8 Only change ownership during directory creation
If a user changes directory permissions or ownership, don't overwrite
this on upgrade; just set it once during creation.

Closes #32
2024-08-04 22:15:50 -04:00
Joshua M. Boniface
1784777c50 Fix naming of per-package files 2024-02-04 02:20:03 -05:00