diff options
author | B. Watson <yalhcru@gmail.com> | 2020-10-25 13:31:33 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-31 11:15:38 +0700 |
commit | b4673fe400254598bffd038872374eea8aa7e67f (patch) | |
tree | 157dbf28f3873c01577edbe82a65bbbad49476d6 /audio | |
parent | d81b146d7d884c2a019e9afb2284a5c4fd871a0c (diff) |
audio/alsacap: Tweak script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/alsacap/alsacap.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/audio/alsacap/alsacap.SlackBuild b/audio/alsacap/alsacap.SlackBuild index 70fd25dc9ea7..53afd2562327 100644 --- a/audio/alsacap/alsacap.SlackBuild +++ b/audio/alsacap/alsacap.SlackBuild @@ -54,11 +54,8 @@ rm -rf $PRGNAM tar xvf $CWD/$PRGNAM.tgz cd $PRGNAM 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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ sed -i "s,gcc,gcc $SLKCFLAGS," Makefile make |