summaryrefslogtreecommitdiff
path: root/multimedia/google-earth
diff options
context:
space:
mode:
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 294aab792b..da7889768f 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