@@ -37,7 +37,12 @@ override_dh_makeshlibs:
3737override_dh_shlibdeps:
3838 dh_shlibdeps -XlibMockLightDM-qml.so
3939
40+# TODO: This is transitional and can be dropped once this MP is merged:
41+# https://code.launchpad.net/~robru/cupstream2distro/no-source-build-deps/+merge/289446
4042override_dh_auto_clean:
4143 dh_auto_clean
42− sh ./debian/bileto_pre_release_hook
43− [ -z "$(SILONAME)" ] || bzr commit --message "Update translation template" po/unity8.pot
44+ # only run under "CI Train"
45+ if [ -n "$(SILONAME)" -a -x /usr/bin/bzr ]; then \
46+ ./debian/bileto_pre_release_hook; \
47+ bzr commit --message "Update translation template" po/unity8.pot; \
48+ fi