diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2018-05-09 17:15:43 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2018-05-09 17:15:43 +0000 |
commit | 22222c371d113d75c48d0ef09e3168e16ced352b (patch) | |
tree | 1916f7fdfeb705de9ba1f28f3644c5940344b3c4 /subr | |
parent | b598a7221fbcc49672d267c298d817f222173f46 (diff) | |
download | midipix_build-22222c371d113d75c48d0ef09e3168e16ced352b.tar.bz2 midipix_build-22222c371d113d75c48d0ef09e3168e16ced352b.tar.xz |
subr/pkg_install.subr: correctly check for {absence,presence} of [ugo]+x.
Diffstat (limited to 'subr')
-rw-r--r-- | subr/pkg_install.subr | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr index cfe38604..dd007abe 100644 --- a/subr/pkg_install.subr +++ b/subr/pkg_install.subr @@ -7,11 +7,10 @@ pkg_install() { find "${PKG_DESTDIR}" \ -type d -exec chmod 0755 {} \;; find "${PKG_DESTDIR}" \ - \( -perm -0400 \) -and \ - \( -not -perm /0100 \) \ + \( -not -perm /0111 \) \ -type f -exec chmod 0644 {} \;; find "${PKG_DESTDIR}" \ - -perm /0100 -type f -exec chmod 0755 {} \;; + -perm /0111 -type f -exec chmod 0755 {} \;; tar -C "${PKG_DESTDIR}" -cpf - . |\ tar -C "${PKG_PREFIX}" --overwrite -xpf -; if [ "${ARG_PACKAGE:-0}" -eq 1 ]; then |