diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
commit | 687c78d5604ce299d5164ffd69de88f2dd10fefc (patch) | |
tree | 2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /multimedia/google-earth | |
parent | 610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff) | |
download | slackbuilds-687c78d5604ce299d5164ffd69de88f2dd10fefc.tar.gz |
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 9f38832b6a..294aab792b 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 |