diff options
Diffstat (limited to 'audio/eawpats/eawpats.SlackBuild')
-rw-r--r-- | audio/eawpats/eawpats.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/eawpats/eawpats.SlackBuild b/audio/eawpats/eawpats.SlackBuild index d109f72ed968..b2529dfde67a 100644 --- a/audio/eawpats/eawpats.SlackBuild +++ b/audio/eawpats/eawpats.SlackBuild @@ -11,6 +11,9 @@ # This is the original author's site, but it's more polite to download # from the gentoo mirror (see .info file) +# 20191201 bkw: symlink eawpats.cfg to timidity.cfg in doinst.sh, +# if there's no timidity.cfg already. This makes things Just Work(tm). + # 20140511 bkw: one patch was missing due to tar being silly. # When extracting (with tar, which is really tar-1.26 on slack 14.1): # tar: eawpats/charang.pat: implausibly old time stamp 1969-12-31 18:59:59 @@ -24,7 +27,7 @@ PRGNAM=eawpats VERSION=${VERSION:-12} SRCVER=${VERSION}_full ARCH=noarch -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -41,11 +44,8 @@ rm -rf $PRGNAM tar xvf $CWD/$PRGNAM$SRCVER.tar.gz 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 {} \+ # see above touch charang.pat |