diff --git a/debian/rules b/debian/rules index 8b97f793..fa33deb5 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all # The Debian version of linked-hash-map doesn't provide any hash, # causing Cargo to refuse to build with a crates.io copy build-arch: - rm Cargo.lock + [ ! -f Cargo.lock ] || rm Cargo.lock dh $@ --builddirectory=_build --buildsystem=meson override_dh_autoreconf: