summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2018-01-04 19:48:59 +0100
committersharkdp <davidpeter@web.de>2018-01-04 19:48:59 +0100
commit050fa9c3b185394392e8e2134df14bb4c4b3b68a (patch)
tree18bcbd85845597b47cd24e62e692768461a6d17b
parent6be33fbf3368127932870b34a7d743f38ec69b6b (diff)
Fix file owner in deb package, closes #213
Also, fix a few lintian warnings / errors.
-rwxr-xr-xci/before_deploy.bash7
1 files changed, 5 insertions, 2 deletions
diff --git a/ci/before_deploy.bash b/ci/before_deploy.bash
index d51f087..49593d4 100755
--- a/ci/before_deploy.bash
+++ b/ci/before_deploy.bash
@@ -78,6 +78,7 @@ make_deb() {
# manpage
install -Dm644 "doc/$PROJECT_NAME.1" "$tempdir/usr/share/man/man1/$PROJECT_NAME.1"
+ gzip --best "$tempdir/usr/share/man/man1/$PROJECT_NAME.1"
# readme and license
install -Dm644 README.md "$tempdir/usr/share/doc/$PROJECT_NAME/README.md"
@@ -96,14 +97,16 @@ Package: $dpkgname
Version: $version
Section: utils
Priority: optional
-Maintainer: David Peter
+Maintainer: David Peter <mail@david-peter.de>
Architecture: $architecture
Provides: $PROJECT_NAME
Conflicts: $conflictname
Description: Simple, fast and user-friendly alternative to find
+ While fd does not seek to mirror all of find's powerful functionality, it
+ provides sensible (opinionated) defaults for 80% of the use cases.
EOF
- dpkg-deb --build "$tempdir" "${dpkgname}_${version}_${architecture}.deb"
+ fakeroot dpkg-deb --build "$tempdir" "${dpkgname}_${version}_${architecture}.deb"
}