FS#59334 - [xdg-user-dirs] enable the service in the package instead of the .install script

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Saturday, 14 July 2018, 11:28 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 21 August 2018, 14:39 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
All the .install script does is enable the user service. This creates an untracked file "/etc/systemd/user/default.target.wants/xdg-user-dirs-update.service".

Why not just package a symlink that enables the service and get rid of the .install script?

Additional info:
* package version(s)
* config and/or log files etc.
xdg-user-dirs 0.17-1

Steps to reproduce:
pacman -Qo /etc/systemd/user/default.target.wants/xdg-user-dirs-update.service
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 21 August 2018, 14:39 GMT
Reason for closing:  Not a bug
Additional comments about closing:  untracked files in /etc are not a bad thing, and in this case they're a feature that prevents manually-disabled sockets from being surprisingly re-enabled on upgrades and breaking pacman -Qkk in the meantime.

Loading...