diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2011-09-29 18:52:25 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-09-29 18:52:25 -0300 |
commit | 210f874c362b85f6d5af65a4cacdf5dd997adee7 (patch) | |
tree | 8154b67df15eb82c9c7c31c1c8354d8183547b7e /development/apache-maven/apache-maven.SlackBuild | |
parent | 2517dd704eddabb2df9c06cd44afd0308489a215 (diff) | |
download | slackbuilds-210f874c362b85f6d5af65a4cacdf5dd997adee7.tar.gz |
development/apache-maven: Fixed wrong permission
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/apache-maven/apache-maven.SlackBuild')
-rw-r--r-- | development/apache-maven/apache-maven.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/development/apache-maven/apache-maven.SlackBuild b/development/apache-maven/apache-maven.SlackBuild index 84c978a54c..1debd8a347 100644 --- a/development/apache-maven/apache-maven.SlackBuild +++ b/development/apache-maven/apache-maven.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=apache-maven VERSION=2.2.1 ARCH=noarch -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -43,6 +43,12 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION-bin.tar.bz2 cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; mkdir -p $PKG/$MAVEN_HOME $PKG/usr/{bin,share/java} cp -a bin boot conf lib $PKG/$MAVEN_HOME |