mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 14:32:38 +02:00
create deb: fixing permissions, forced to create link for ppc386
git-svn-id: trunk@11469 -
This commit is contained in:
parent
683b03a129
commit
4969219544
tools/install
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user