aboutsummaryrefslogtreecommitdiff
path: root/system/percona-xtrabackup
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/percona-xtrabackup
parent687c78d5604ce299d5164ffd69de88f2dd10fefc (diff)
various: Update find command to match template.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/percona-xtrabackup')
-rw-r--r--system/percona-xtrabackup/percona-xtrabackup.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/percona-xtrabackup/percona-xtrabackup.SlackBuild b/system/percona-xtrabackup/percona-xtrabackup.SlackBuild
index b9e37c5959db..a70cdefe4239 100644
--- a/system/percona-xtrabackup/percona-xtrabackup.SlackBuild
+++ b/system/percona-xtrabackup/percona-xtrabackup.SlackBuild
@@ -66,8 +66,8 @@ rm -rf Percona-Server-$PERCONA_VERSION
tar xvf $PRGNAM-$VERSION/Percona-Server-$PERCONA_VERSION.tar.gz
cd Percona-Server-$PERCONA_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 {} \;
@@ -93,8 +93,8 @@ done
cd $TMP/$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 {} \;