polkit .rules (for 24.04+) since .pkla files are now obsolete
AFAIK, .pkla is ignored after .105,
and .rules were ignore by .105.
Ubuntu/Debian were stuck on .105 for a very long time,
but now polkit has moved fully to javascript definitions.
Search for "polkit_pkla2rule.py" as a possible converter
(although it didn't handle unix-group:*).
Permissions are important. I think the most proper is
440 root:polkitd, but a 444 should work fine.
systemctl restart polkit is very important (despite
/var/logs/auth.log indicating that the rules change on every save).
It was hard to debug the rules. I tried lots of web suggestions,
but in the end, I killed polkitd and ran it interactively.
(I don't know if the other stuff I did actually came into play...)
G_MESSAGES_DEBUG=all /usr/lib/policykit-1/polkitd
A third annoying thing is that it seems to be necessary to enclose
in round brackets the == clauses, so I did that already
inside the if() clause to encourage keeping it in case a
&& subject.isInGroup("sudo")
or some other condition is added.
general cleanup and tweaking: remove old LO 5.4 code
1.) LibreOffice 5.4 I think was the base for 16.04.
In any case, 6.1 and 6.2 are available for it,
so very little reason to worry about 5.4 anymore,
since this template is only going to apply to 2020
situations where xenial is nearly obsolete.
2.) Add explanation why it should be a default suggestion
to disable gnome-software doing its own upgrades.
3.) lintian warning: shlibs is not a depends for shell scripts?
4.) change -template to -BRANCH_ID to limit the need to
search/replace multiple strings.
1.) since commit 50a30791a1e714a1ad8bc1c39f368c4b803e6bf2
a suggested apt file has been included,
so don't install that folder automatically.
No need to have that be branch-specific named either.
2.) Added a healthy hint from my own branch config
which can help avoid rebase conflicts.
3.) Automatically disable gnome-software updates
since other APT tasks already do updates,
and then it just becomes one place to turn them off.
No need to have this as a separate recommendation,
since wasta-linux has wasta-offline-setup as a
built-in application and so will have this setup
already.
Next version of LibreOffice will be 7.0, no more gtk2
Just announced - because it will be the first to
support ODF 1.3, and of course with a 10-year
anniversary you have to celebrate with a .0 release,
the next version with not be 6.5...
Also, gtk2 is being dropped from vcl's so might
as well get used to crappy gtk3 UI. This is especially
true for 20.04 where this is effectively first being
used, so no need to keep around the profile.d stuff.