mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/scratch: Fix perms.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ca8fe08c18
commit
f6fbb36773
1 changed files with 7 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue