summaryrefslogtreecommitdiff
path: root/system/rkhunter
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-22 02:37:19 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-11-22 02:37:19 -0500
commitd0c108251ae79dcfec055e5a51799df8cbbd955a (patch)
treee90ffe949fc88136e61418e7738c9f173230d6e6 /system/rkhunter
parent687c78d5604ce299d5164ffd69de88f2dd10fefc (diff)
downloadslackbuilds-d0c108251ae79dcfec055e5a51799df8cbbd955a.tar.gz
various: Update find command to match template.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/rkhunter')
-rw-r--r--system/rkhunter/rkhunter.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/rkhunter/rkhunter.SlackBuild b/system/rkhunter/rkhunter.SlackBuild
index c9bc274ce8..a723a6acad 100644
--- a/system/rkhunter/rkhunter.SlackBuild
+++ b/system/rkhunter/rkhunter.SlackBuild
@@ -46,8 +46,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;