aboutsummaryrefslogtreecommitdiff
path: root/multimedia/google-earth
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 /multimedia/google-earth
parent687c78d5604ce299d5164ffd69de88f2dd10fefc (diff)
various: Update find command to match template.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/google-earth')
-rw-r--r--multimedia/google-earth/google-earth.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/google-earth/google-earth.SlackBuild b/multimedia/google-earth/google-earth.SlackBuild
index 294aab792bc9e..da7889768fba3 100644
--- a/multimedia/google-earth/google-earth.SlackBuild
+++ b/multimedia/google-earth/google-earth.SlackBuild
@@ -50,15 +50,15 @@ cd $PKG
chown -R root:root .
# Fix Google braindeadness (and mine)
find . -type d -exec chmod 0755 {} \;
-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 {} \;
# Sadly (by lack of politer word), Google has some inconsistent permissions
# for normal files; this should deal with them rather nicely.
-find . \( -name "*.png" -o -name "*.kml" -o -name "*.xml" \) -exec chmod 0644 {} \;
+find -L . \( -name "*.png" -o -name "*.kml" -o -name "*.xml" \) -exec chmod 0644 {} \;
# Install a .desktop launcher:
mv $PKG/opt/google/earth/free/google-earth.desktop $PKG/usr/share/applications/google-earth.desktop