diff --git a/tools/install/create_fpc_deb.sh b/tools/install/create_fpc_deb.sh index 6dd51d3a06..310afea6b3 100755 --- a/tools/install/create_fpc_deb.sh +++ b/tools/install/create_fpc_deb.sh @@ -148,7 +148,7 @@ echo ' * Unofficial snapshot build for lazarus' >> $File echo " -- Mattias Gaertner $Date" >> $File echo "" >> $File cat $ResourceDir/changelog >> $File -rm $File.gz +rm -f $File.gz gzip --best $File # create postinst if needed @@ -162,7 +162,7 @@ fi echo "creating changelog.Debian file ..." File=$DebianDocDir/changelog.Debian cp $ResourceDir/changelog.Debian $File -rm $File.gz +rm -f $File.gz gzip --best $File # create debian copyright file diff --git a/tools/install/cross_unix/HowToCreate_fpc_crosswin32_deb.txt b/tools/install/cross_unix/HowToCreate_fpc_crosswin32_deb.txt index f0f5c52cdc..764a3d807c 100644 --- a/tools/install/cross_unix/HowToCreate_fpc_crosswin32_deb.txt +++ b/tools/install/cross_unix/HowToCreate_fpc_crosswin32_deb.txt @@ -17,7 +17,7 @@ This will download the FPC svn to ~/freepascal/fpc, its install files to Create the fpc deb and install it: []$ cd /tools/install - []$ ./create_fpc_deb.sh ~/freepascal/fpc + []$ ./create_fpc_deb.sh fpc ~/freepascal/fpc []$ sudo dpkg -i fpc-.i386.rpm Then build the fpc_crosswin32 deb and install it: