[neon/neon/configure-inotify/Neon/unstable] debian: only run reuse once

Jonathan Esk-Riddell null at kde.org
Wed Jul 27 15:39:20 BST 2022


Git commit f6dcbc9f27afb8400b378fb4bf4ea5cad4b51cfd by Jonathan Esk-Riddell.
Committed on 27/07/2022 at 14:39.
Pushed by jriddell into branch 'Neon/unstable'.

only run reuse once

M  +2    -2    debian/rules

https://invent.kde.org/neon/neon/configure-inotify/commit/f6dcbc9f27afb8400b378fb4bf4ea5cad4b51cfd

diff --git a/debian/rules b/debian/rules
index 0247b52..e3a5689 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,12 +8,12 @@
 override_dh_auto_configure:
 	# Fun fact: dh_installsystemd doesn't handle /usr/lib/systemd meaning we
 	# need to use /lib instead.
+	which reuse || pip3 install reuse
+	reuse lint
 	dh_auto_configure -- -DSYSTEMD_UNIT_INSTALL_DIR=/lib/systemd/
 
 override_dh_auto_clean:
 	dh_auto_clean
-	which reuse || pip3 install reuse
-	reuse lint
 
 override_dh_installsystemd:
 	# Don't start automatically it'd reload the sysctl unit which is technically


More information about the Neon-commits mailing list