]> mj.ucw.cz Git - paperjam.git/commitdiff
debian/mk: Do not fail if debian/changelog is missing
authorMartin Mares <mj@ucw.cz>
Sun, 19 Jan 2020 21:59:45 +0000 (22:59 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 19 Jan 2020 21:59:45 +0000 (22:59 +0100)
debian/mk

index 9cd9fcb99ae90356863928a2955e8dc3e942d7c3..c446e4b2721a7a57ee463deb23f948c90f52f1a9 100755 (executable)
--- a/debian/mk
+++ b/debian/mk
@@ -4,7 +4,7 @@ set -e
 COMMIT=$(git rev-parse HEAD)
 VER=$(git describe --always --tags | sed s/^v//)-1
 
-rm debian/changelog
+rm -f debian/changelog
 EDITOR=touch dch --create --package=paperjam --newversion=$VER "Automatically generated from Git commit $COMMIT."
 EDITOR=touch dch --release -D stable
 sed -i '/Initial release/d' debian/changelog