From 45ceedc6d9670752f3c5bf35fc2805028ce7bf02 Mon Sep 17 00:00:00 2001 From: "thorsten.spille" Date: Sun, 11 Feb 2024 23:29:21 +0100 Subject: [PATCH] Add License and Changelog to deb package --- CHANGELOG.md | 2 -- build-package | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 940d1e5..cdf24ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,5 @@ # Change log - - ## [v1.0.1] - 2024-02-11 ### Added diff --git a/build-package b/build-package index 41b36e2..d6f5246 100644 --- a/build-package +++ b/build-package @@ -22,4 +22,9 @@ chmod 755 $package/DEBIAN/p* # remove bashclub-zsync-config from package rm $package/usr/bin/bashclub-zsync-config +# add changelog and changelog +mkdir -p ./$package/usr/share/doc/$package/copyright +cp LICENSE ./$package/usr/share/doc/$package/copyright +cp CHANGELOG.md ./$package/usr/share/doc/$package/ + dpkg-deb --build $package $deb_package