[neon/backports-jammy/xdg-user-dirs/Neon/release] debian: install systemd file taken from xdg-user-dirs git

Jonathan Riddell null at kde.org
Thu Mar 28 10:47:49 GMT 2024


Git commit 01ccfcc4233bb5b54a7ed814c68a1323fb71daab by Jonathan Riddell.
Committed on 28/03/2024 at 10:47.
Pushed by jriddell into branch 'Neon/release'.

install systemd file taken from xdg-user-dirs git

M  +4    -0    debian/rules
A  +11   -0    debian/xdg-user-dirs.service

https://invent.kde.org/neon/backports-jammy/xdg-user-dirs/-/commit/01ccfcc4233bb5b54a7ed814c68a1323fb71daab

diff --git a/debian/rules b/debian/rules
index cc861b0..33e2871 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,10 @@ override_dh_auto_build:
 	dh_auto_build
 	$(MAKE) -C po update-gmo
 
+override_dh_auto_install:
+	dh_auto_install
+	cp debian/xdg-user-dirs.service xdg-user-dirs/usr/lib/systemd/user/
+
 override_dh_clean:
 	rm -f po/*.gmo
 	dh_clean
diff --git a/debian/xdg-user-dirs.service b/debian/xdg-user-dirs.service
new file mode 100644
index 0000000..6795045
--- /dev/null
+++ b/debian/xdg-user-dirs.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=User folders update
+Documentation=man:xdg-user-dirs-update(1)
+Before=graphical-session-pre.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/xdg-user-dirs-update
+
+[Install]
+WantedBy=graphical-session-pre.target


More information about the Neon-commits mailing list