deb: fpc: fixed building under debian

git-svn-id: trunk@55077 -
This commit is contained in:
mattias 2017-05-25 11:36:51 +00:00
parent eb1d0abb53
commit 6e70be5335
2 changed files with 3 additions and 4 deletions
tools/install

View File

@ -281,6 +281,7 @@ echo "" >> $File
cat $ResourceDir/changelog >> $File
rm -f $File.gz
gzip -n --best $File
cp $File.gz $File.Debian.gz
# create postinst if needed
if [ -f "$ResourceDir/postinst" ]
@ -344,8 +345,8 @@ cp $ResourceDir/copyright $DebianDocDir/
echo "fixing permissions ..."
find $FPCBuildDir -type d -print0 | xargs -0 chmod 755 # this is needed, don't ask me why
find $FPCBuildDir -type f -print0 | xargs -0 chmod a+r # this is needed, don't ask me why
find $FPCBuildDir -perm 775 | xargs -d '\n' chmod 755
find $FPCBuildDir -perm 664 | xargs -d '\n' chmod 644
find $FPCBuildDir -perm 775 | xargs -d '\n' chmod 755 || true
find $FPCBuildDir -perm 664 | xargs -d '\n' chmod 644 || true
#------------------------------------------------------------------------------
# creating deb

View File

@ -1,5 +1,3 @@
fpc (2.0.4)
fpc (2.0.2)
* Started package