academic/root: Fix permissions on README and subdirs

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrei Rabusov 2022-11-19 23:00:50 +01:00 committed by Willy Sudiarto Raharjo
parent 3bcdb839fa
commit 124bcdf71d
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -215,7 +215,9 @@ cp -a README/ README.md LICENSE LGPL2_1.txt ../src/CONTRIBUTING.md \
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cp -a README/ LICENSE \
$PKG$PREFIX
chmod -R 644 $PKG$PREFIX/README
# README is a directory
find $PKG$PREFIX/README -type d -exec chmod 755 {} \;
find $PKG$PREFIX/README -type f -exec chmod 644 {} \;
chmod -R 644 $PKG$PREFIX/LICENSE
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild