diff --git a/packaging/debian/build.sh b/packaging/debian/build.sh index 19edd82f..2867d469 100755 --- a/packaging/debian/build.sh +++ b/packaging/debian/build.sh @@ -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 $PKG_DATE" >> /build/debian/changelog && \ diff --git a/packaging/debian/miniflux.dirs b/packaging/debian/miniflux.dirs new file mode 100644 index 00000000..18488c76 --- /dev/null +++ b/packaging/debian/miniflux.dirs @@ -0,0 +1,2 @@ +etc +usr/bin diff --git a/packaging/debian/rules b/packaging/debian/rules index f0845039..5e14e824 100755 --- a/packaging/debian/rules +++ b/packaging/debian/rules @@ -9,8 +9,6 @@ override_dh_auto_clean: override_dh_auto_test: override_dh_auto_build: override_dh_auto_install: - mkdir -p $(DESTDIR)/etc - mkdir -p $(DESTDIR)/usr/bin cp miniflux.conf $(DESTDIR)/etc/miniflux.conf cp miniflux $(DESTDIR)/usr/bin/miniflux