create deb: fixing permissions, forced to create link for ppc386

git-svn-id: trunk@11469 -
This commit is contained in:
mattias 2007-07-12 09:04:08 +00:00
parent 683b03a129
commit 4969219544
2 changed files with 4 additions and 2 deletions
tools/install

View File

@ -155,7 +155,9 @@ perl replace_in_files.pl -sR -f '=\d.\d.\d' -r =$CompilerVersionStr -m 'Makefile
# change debian files
mkdir -p $DebianDocDir
chmod 755 $DebianDocDir
mkdir -p $DebianRulezDir
chmod 755 $DebianRulezDir
# create debian control file, which contains the package description
echo "creating DEBIAN/control file"
@ -179,7 +181,7 @@ if [ -f "$ResourceDir/postinst" ]; then
cat $ResourceDir/postinst \
| sed -e "s/FPCVERSION/$FPCVersion/g" -e "s/PPCBIN/$ppcbin/g" \
> $DebianRulezDir/postinst
chmod a+x $DebianRulezDir/postinst
chmod a+rx $DebianRulezDir/postinst
fi
# create changelog.Debian file

View File

@ -1,4 +1,4 @@
#!/bin/sh
ln -s /usr/lib/fpc/FPCVERSION/PPCBIN /usr/bin/PPCBIN
ln -sf /usr/lib/fpc/FPCVERSION/PPCBIN /usr/bin/PPCBIN
sh /usr/lib/fpc/FPCVERSION/samplecfg /usr/lib/fpc/\$fpcversion/ /etc