summaryrefslogtreecommitdiffstats
path: root/system/read-edid/read-edid.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/read-edid/read-edid.SlackBuild')
-rw-r--r--system/read-edid/read-edid.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/system/read-edid/read-edid.SlackBuild b/system/read-edid/read-edid.SlackBuild
index 8bdce0feb6..0d8369e95f 100644
--- a/system/read-edid/read-edid.SlackBuild
+++ b/system/read-edid/read-edid.SlackBuild
@@ -6,6 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20190108 bkw:
+# - update README: mention the /sys/class/drm stuff and edid-decode.
+# - fix README and slack-desc formatting.
+# - update find|chmod to my personal template.
+# - no need to bump BUILD, no package changes.
+
# 20150505 bkw: update for v3.0.2 (COPYING => LICENSE too)
PRGNAM=read-edid
@@ -49,11 +55,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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 {} \+
mkdir -p build
cd build