diff options
author | Andrei Rabusov <arabusov@gmail.com> | 2022-11-19 23:00:50 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-20 08:51:29 +0700 |
commit | 124bcdf71de3e08dfcc61a76016986870c3b96e6 (patch) | |
tree | d1a5e61edf22143ac36dfbb662c3a5b5361234e4 /academic/root | |
parent | 3bcdb839fa64b5d5428f002d26d5d050bb1108da (diff) |
academic/root: Fix permissions on README and subdirs
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/root')
-rw-r--r-- | academic/root/root.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/academic/root/root.SlackBuild b/academic/root/root.SlackBuild index b94e268fbae0f..f1f0fbc9ccd21 100644 --- a/academic/root/root.SlackBuild +++ b/academic/root/root.SlackBuild @@ -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 |