summaryrefslogtreecommitdiff
path: root/source/a/eudev/eudev.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/eudev/eudev.SlackBuild')
-rwxr-xr-xsource/a/eudev/eudev.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/a/eudev/eudev.SlackBuild b/source/a/eudev/eudev.SlackBuild
index 1e8f766f..cc8e61a3 100755
--- a/source/a/eudev/eudev.SlackBuild
+++ b/source/a/eudev/eudev.SlackBuild
@@ -64,9 +64,9 @@ cd eudev-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
# Patch 60-cdrom_id.rules to create a full set of symlinks:
zcat $CWD/60-cdrom_id.rules.diff.gz | patch -p1 --verbose || exit 1
@@ -135,8 +135,8 @@ cp -a $CWD/config/modprobe.d/*.conf $PKG/lib/modprobe.d/
cp -a $CWD/config/modprobe.d/README $PKG/etc/modprobe.d/
chown -R root:root $PKG/etc $PKG/lib/modprobe.d
-find $PKG/etc $PKG/lib/modprobe.d -type f -exec chmod 644 {} \;
-find $PKG/etc -type d -exec chmod 755 {} \;
+find $PKG/etc $PKG/lib/modprobe.d -type f -exec chmod 644 {} \+
+find $PKG/etc -type d -exec chmod 755 {} \+
chmod 0755 $PKG/etc/rc.d/rc.udev.new
# Add extra device nodes to the package that udev doesn't make: