diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-15 00:21:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-15 00:44:31 +0700 |
commit | f6fbb367730e3887f2b64ef808132f053a03f210 (patch) | |
tree | 3541174d9faeda0f909ddec1fc770be6eac25c72 /development | |
parent | ca8fe08c1868cd61db07f107938c2cf494d93d72 (diff) | |
download | slackbuilds-f6fbb367730e3887f2b64ef808132f053a03f210.tar.gz |
development/scratch: Fix perms.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/scratch/scratch.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/development/scratch/scratch.SlackBuild b/development/scratch/scratch.SlackBuild index bf895ca7d9..ac5e5850aa 100644 --- a/development/scratch/scratch.SlackBuild +++ b/development/scratch/scratch.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for scratch -# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org> +# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -62,13 +62,12 @@ cd $TMP rm -rf $PRGNAM-$VERSION.src tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz cd $PRGNAM-$VERSION.src - chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make build @@ -108,12 +107,10 @@ chmod -R 0755 $PKG/usr/share/icons/hicolor cp -rf Plugins $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/help -cp -a \ - ACKNOWLEDGEMENTS KNOWN-BUGS LICENSE NOTICE README TRADEMARK_POLICY \ +cp -a ACKNOWLEDGEMENTS KNOWN-BUGS LICENSE NOTICE README TRADEMARK_POLICY \ $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - Help/en/* \ - $PKG/usr/doc/$PRGNAM-$VERSION/help +cp -a Help/en/* $PKG/usr/doc/$PRGNAM-$VERSION/help +chmod 755 $PKG/usr/doc/$PRGNAM-$VERSION/help/images cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |