diff options
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | google-earth.install | 20 |
2 files changed, 4 insertions, 20 deletions
@@ -66,8 +66,8 @@ if [[ $_attempt_fix = 1 ]]; then fi package() { - msg2 "Extracting the data.tar.lzma..." - bsdtar -xf data.tar.lzma -C "$pkgdir/" + msg2 "Extracting the data.tar.xz..." + bsdtar -xf data.tar.xz -C "$pkgdir/" msg2 "Moving stuff in place..." # The .desktop diff --git a/google-earth.install b/google-earth.install index d11379add451..1d5707333956 100644 --- a/google-earth.install +++ b/google-earth.install @@ -17,17 +17,7 @@ if [[ $(uname -m) = x86_64 ]]; then _64=true fi -_update() { - msg_blue "Updating desktop MIME database..." - update-desktop-database -q - - msg_blue "Updating icon cache..." - xdg-icon-resource forceupdate &>/dev/null -} - -post_install() { - _update - +post_install() { if [[ $_64 ]]; then note "The launcher is called 'google-earth'." "1" note "If experiencing graphical corruption: @@ -37,15 +27,9 @@ post_install() { fi } -post_upgrade() { - _update - +post_upgrade() { if [[ $_64 ]]; then note "If experiencing graphical corruption: $ rm -r ~/.googleearth/Cache/" fi } - -post_remove() { - _update -} |