mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
use dirs file for debian package
Instead of running mkdir from debian/rules, the native way to create the necessary directories is with the dirs file which is read by the dh_installdirs helper script. See: * https://www.debian.org/doc/manuals/maint-guide/dother.en.html#dirs * dh_installdirs(1) manual page I am not aware of any specific problems that could arise from doing it manually instead of using dh_installdirs. But sticking to the native approach might be a good idea.
This commit is contained in:
parent
efa8bfcf0e
commit
1e16e19d11
3 changed files with 3 additions and 2 deletions
|
@ -22,6 +22,7 @@ cd /src && \
|
|||
cp /src/packaging/debian/miniflux.manpages /build/debian/miniflux.manpages && \
|
||||
cp /src/packaging/debian/miniflux.postinst /build/debian/miniflux.postinst && \
|
||||
cp /src/packaging/debian/rules /build/debian/rules && \
|
||||
cp /src/packaging/debian/miniflux.dirs /build/debian/miniflux.dirs && \
|
||||
echo "miniflux ($PKG_VERSION) experimental; urgency=low" > /build/debian/changelog && \
|
||||
echo " * Miniflux version $PKG_VERSION" >> /build/debian/changelog && \
|
||||
echo " -- Frédéric Guillot <f@miniflux.net> $PKG_DATE" >> /build/debian/changelog && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue