From fc7d829025b242fec79751b2b4959b2f04001ffa Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 27 Jun 2023 00:59:12 +0200 Subject: [PATCH] deb: fixed copying changelog and delete git files --- tools/install/create_lazarus_deb.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/install/create_lazarus_deb.sh b/tools/install/create_lazarus_deb.sh index 32cf26f620..a101e43eba 100755 --- a/tools/install/create_lazarus_deb.sh +++ b/tools/install/create_lazarus_deb.sh @@ -180,6 +180,8 @@ rm -rf $LazDestDir/debian rm -rf $LazDestDir/components/aggpas/gpc rm -rf $LazDestDir/components/mpaslex rm -rf $LazDestDir/lcl/interfaces/carbon +find $LazDestDir -name .gitignore -delete +find $LazDestDir -name .gitattributes -delete # compile echo @@ -233,7 +235,7 @@ echo "copying copyright and changelog files" LazBuildDocDir=$LazBuildDir/usr/share/doc/$PkgName mkdir -p $LazBuildDocDir cp $DebianSrcDir/copyright $LazBuildDocDir/ -cat $LazSrcDir/debian/changelog | sed -e "s/^lazarus (/$PkgName (/" > $LazBuildDocDir/changelog +cat $LazSrcDir/tools/install/debian_lazarus/changelog.Debian | sed -e "s/^lazarus (/$PkgName (/" > $LazBuildDocDir/changelog cp $LazBuildDocDir/changelog $LazBuildDocDir/changelog.Debian gzip -n --best $LazBuildDocDir/changelog gzip -n --best $LazBuildDocDir/changelog.Debian