Clean up .install

This commit is contained in:
Det 2015-07-12 23:40:24 +03:00
parent 5545e384bc
commit 6f33a099af
2 changed files with 5 additions and 5 deletions

View file

@ -34,9 +34,9 @@ pkgbase = google-chrome-beta
options = !strip options = !strip
source = eula_text.html source = eula_text.html
md5sums = b7e752f549b215ac77f284b6486794b6 md5sums = b7e752f549b215ac77f284b6486794b6
source_i686 = google-chrome-beta_44.0.2403.61_i386.deb::https://dl.google.com/linux/direct/google-chrome-beta_current_i386.deb source_i686 = google-chrome-beta_44.0.2403.81_i386.deb::https://dl.google.com/linux/direct/google-chrome-beta_current_i386.deb
md5sums_i686 = 73d28cf324f6dc513c4867c425a24888 md5sums_i686 = 73d28cf324f6dc513c4867c425a24888
source_x86_64 = google-chrome-beta_44.0.2403.61_amd64.deb::https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb source_x86_64 = google-chrome-beta_44.0.2403.81_amd64.deb::https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb
md5sums_x86_64 = c691ab5a8318bcaa1ea08b63fe5c00de md5sums_x86_64 = c691ab5a8318bcaa1ea08b63fe5c00de
pkgname = google-chrome-beta pkgname = google-chrome-beta

View file

@ -15,21 +15,21 @@ yellow="${bold}$(tput setaf 3)"
_update() { _update() {
msg_blue "Updating desktop MIME database..." msg_blue "Updating desktop MIME database..."
update-desktop-database -q update-desktop-database -q
msg_blue "Updating icon cache.." msg_blue "Updating icon cache.."
xdg-icon-resource forceupdate --theme hicolor &>/dev/null xdg-icon-resource forceupdate --theme hicolor &>/dev/null
} }
post_install() { post_install() {
_update _update
note "The launcher is called: 'google-chrome-beta'" note "The launcher is called: 'google-chrome-beta'"
} }
post_upgrade() { post_upgrade() {
post_install post_install
} }
post_remove() { post_remove() {
_update _update
} }