[Slackbuilds-users] Bug in google-earth.SlackBuild

Michiel van Wessem michiel.van.wessem at gmail.com
Tue Apr 23 01:52:07 UTC 2013


Howdy all,

Seems there is a slight bug in the google-earth.SlackBuild made by me.
The problem is basically that the extraction of the sources make the
$PKG directory 0700 which leads to weird problems down the line. 

The Fix to the problem is the following code below (basically make sure
that after extracting the sources the permissions on $PKG are sane).
I'll upload a new tarball to SBo.

<patch>
--- google-earth.SlackBuild.orig	2013-04-23 01:23:52.874110820
+0000 +++ google-earth.SlackBuild	2013-04-23 01:25:30.074320008
+0000 @@ -48,6 +48,7 @@
 ar p $CWD/google-earth-stable_current_i386.deb data.tar.lzma | lzma -d
| tar xv cd $PKG
 chown -R root:root . 
+chmod 0755 .
 find . \
  \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
  -exec chmod 755 {} \; -o \
</patch>

again, mea culpa for this screw up. :|



-- 
Michiel van Wessem
(http://michielvwessem.wordpress.com)

I figured out what's wrong with life: it's other people.


More information about the SlackBuilds-users mailing list