diff options
Diffstat (limited to 'multimedia/google-earth')
-rw-r--r-- | multimedia/google-earth/google-earth.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/google-earth/google-earth.SlackBuild b/multimedia/google-earth/google-earth.SlackBuild index 9f38832b6a8d8..294aab792bc9e 100644 --- a/multimedia/google-earth/google-earth.SlackBuild +++ b/multimedia/google-earth/google-earth.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 2013 - A lot of thanks to Willy Sudiarto Raharjo for his input and help +# 2013 - A lot of thanks to Willy Sudiarto Raharjo for his input and help # with converting the script to work with googles .deb packages. # Thanks to rworkman for the additional code and script cleanups @@ -40,14 +40,14 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # No flags/configure needed as it is just a binary repackaging. -set -e # Exit on most errors. +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG ar p $CWD/google-earth-stable_current_i386.deb data.tar.lzma | lzma -d | tar xv cd $PKG -chown -R root:root . +chown -R root:root . # Fix Google braindeadness (and mine) find . -type d -exec chmod 0755 {} \; find . \ @@ -56,7 +56,7 @@ find . \ \( -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 +# 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 {} \; @@ -79,7 +79,7 @@ mv $PKG/opt/google/earth/free/gpl.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Clean up cruft/unneeded directories.The cron job in /etc is for Debian/Ubuntu only: -rm -rf $PKG/etc +rm -rf $PKG/etc rm -rf $PKG/usr/share/{man,menu,gnome-control-center} mkdir -p $PKG/install |