diff options
author | B. Watson <urchlay@slackware.uk> | 2022-12-27 18:05:25 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-31 09:14:50 +0700 |
commit | 9a18ab78cfa987ff33ee4802ec0fc774d7d1f919 (patch) | |
tree | 8affdaaa21b034c2c45cb78418e82ec9899e7f05 /system/exomizer/exomizer.SlackBuild | |
parent | c8aaeeb32d21eef630d7bfa6bf9158fea9d6ecac (diff) |
system/exomizer: Minor script tweak.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/exomizer/exomizer.SlackBuild')
-rw-r--r-- | system/exomizer/exomizer.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/system/exomizer/exomizer.SlackBuild b/system/exomizer/exomizer.SlackBuild index e3e6eecbe6aa7..862cdb6885e5f 100644 --- a/system/exomizer/exomizer.SlackBuild +++ b/system/exomizer/exomizer.SlackBuild @@ -69,8 +69,11 @@ cd $TMP rm -rf $PRGNAM-$VERSION mkdir -p $PRGNAM-$VERSION cd $PRGNAM-$VERSION -unzip $CWD/${PRGNAM}${VERSION//./}.zip* -x dos/\* win32/\* || \ - unzip $CWD/$PRGNAM-$VERSION.zip* -x dos/\* win32/\* + +# 20221227 bkw: stop this from failing when I've got 2 copies of +# the zip file in my directory (one with .1 at the end of the name). +ZIPFILE=$( /bin/ls $CWD/$PRGNAM-$VERSION.zip* | head -1 ) +unzip $ZIPFILE -x win32/\* chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ |