From afbdb271ea56bff9eb6909f92162b826465f1b17 Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 19 May 2017 11:12:24 +0000 Subject: [PATCH] debian: fixed lintian warning about changelog git-svn-id: branches/fixes_1_8@55007 - --- tools/install/create_lazarus_deb.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tools/install/create_lazarus_deb.sh b/tools/install/create_lazarus_deb.sh index 4dcee147bb..599d48c6df 100755 --- a/tools/install/create_lazarus_deb.sh +++ b/tools/install/create_lazarus_deb.sh @@ -188,13 +188,15 @@ cat $DebianSrcDir/control$LCLWidgetset | \ -e "s/LAZSIZE/$LazSize/g" \ -e "s/PKGNAME/$PkgName/g" \ > $LazBuildDir/DEBIAN/control +cp $DebianSrcDir/conffiles $LazBuildDir/DEBIAN/ # copyright and changelog files echo "copying copyright and changelog files" -mkdir -p $LazBuildDir/usr/share/doc/lazarus -cp $DebianSrcDir/{copyright,changelog,changelog.Debian} $LazBuildDir/usr/share/doc/lazarus/ -gzip --best $LazBuildDir/usr/share/doc/lazarus/changelog -gzip --best $LazBuildDir/usr/share/doc/lazarus/changelog.Debian +LazBuildDocDir=$LazBuildDir/usr/share/doc/$PkgName +mkdir -p $LazBuildDocDir +cp $DebianSrcDir/{copyright,changelog,changelog.Debian} $LazBuildDocDir/ +gzip --best $LazBuildDocDir/changelog +gzip --best $LazBuildDocDir/changelog.Debian # icons, links mkdir -p $LazBuildDir/usr/share/pixmaps @@ -211,7 +213,7 @@ ln -s $LazDestDirInstalled/lazbuild $LazBuildDir/usr/bin/lazbuild # docs mkdir -p $LazBuildDir/usr/share/man/man1 for exe in lazbuild lazarus-ide startlazarus lazres svn2revisioninc updatepofiles; do -cat $LazDestDir/install/man/man1/$exe.1 | gzip --best > $LazBuildDir/usr/share/man/man1/$exe.1.gz + cat $LazDestDir/install/man/man1/$exe.1 | gzip --best > $LazBuildDir/usr/share/man/man1/$exe.1.gz done # default configs @@ -227,7 +229,7 @@ chmod 644 $LazBuildDir/etc/lazarus/*.xml echo "fixing permissions ..." find $LazBuildDir -type d | xargs -d '\n' chmod 755 find $LazBuildDir -perm 775 | xargs -d '\n' chmod 755 -find $LazBuildDir -perm 664 | xargs -d '\n' chmod 544 +find $LazBuildDir -perm 664 | xargs -d '\n' chmod 644 # postinst + postrm: # don't know