diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-07-13 02:56:15 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-07-14 17:07:21 -0500 |
commit | 86a739a77054011f8922bc7b265705d99916d111 (patch) | |
tree | 9e3833ef01bcd56460d3f132afc6c3c1335d8baa /perl/perl-BerkeleyDB | |
parent | c7aed8ed133b9aedb3b4b08fed4bd8c1c8eb7c97 (diff) | |
download | slackbuilds-86a739a77054011f8922bc7b265705d99916d111.tar.gz |
perl/perl-BerkeleyDB: Fix perms on some docs
Thanks to Niki Kovacs <info@microlinux.fr> for the report.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-BerkeleyDB')
-rw-r--r-- | perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild index c82ed06908..99279263a4 100644 --- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild @@ -29,7 +29,7 @@ PRGNAM="perl-BerkeleyDB" VERSION=${VERSION:-0.52} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -87,6 +87,7 @@ make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |