From 1db4ac6d8064ed5a5fd9f10006c6208f53afc520 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 28 Jul 2007 10:29:01 +0000 Subject: [PATCH] creating deb scripts: fixing permission git-svn-id: trunk@11655 - --- tools/install/create_fpc_deb.sh | 5 +++++ tools/install/create_lazarus_deb.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/install/create_fpc_deb.sh b/tools/install/create_fpc_deb.sh index 81277a857b..1fc6ec5bdd 100755 --- a/tools/install/create_fpc_deb.sh +++ b/tools/install/create_fpc_deb.sh @@ -212,6 +212,11 @@ if [ "$PackageName" = "fpc" ]; then cd - fi +# fixing permissions +echo "fixing permissions ..." +find $FPCBuildDir -type d | xargs chmod 755 # this is needed, don't ask me why +find $FPCBuildDir -type f | xargs chmod a+r # this is needed, don't ask me why + #------------------------------------------------------------------------------ # creating deb diff --git a/tools/install/create_lazarus_deb.sh b/tools/install/create_lazarus_deb.sh index a2b4537648..afddfa43a5 100755 --- a/tools/install/create_lazarus_deb.sh +++ b/tools/install/create_lazarus_deb.sh @@ -2,7 +2,7 @@ # # Author: Mattias Gaertner # -# Usage: ./create_lazarus_deb.sh [gtk2] [release=svn] +# Usage: ./create_lazarus_deb.sh [gtk2] [append-revision] # # Options: # gtk2 compile IDE and programs for gtk2. gtk1 ppu are built too. @@ -150,7 +150,7 @@ cat $LazDestDir/docs/lazbuild.1 | gzip > $LazBuildDir/usr/share/man/man1/lazbuil # fixing permissions echo "fixing permissions ..." -find $LazBuildDir -type d | xargs chmod 755 # this is needed on Debian Woody, don't ask me why +find $LazBuildDir -type d | xargs chmod 755 # this is needed, don't ask me why # creating deb echo "creating deb ..."