google-gadgets-qt preinstall warning fix

This commit is contained in:
Neophytos 2012-01-27 11:32:30 +00:00
parent 1c6ac0739a
commit 4c570901c9
2 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,7 @@ _origname=google-gadgets-qt
pkgname=${_origname}
pkgver=0.11.2
pkgrel=4
pkgrel=5
pkgdesc="Desktop Widgets (engine) from Google"
arch=(i686 x86_64)
url="http://code.google.com/p/google-gadgets-for-linux/"

View File

@ -1,6 +1,8 @@
pre_install() {
mv /usr/lib/pkgconfig/mozilla-js.pc.bak \
/usr/lib/pkgconfig/mozilla-js.pc
local __file="/usr/lib/pkgconfig/mozilla-js.pc"
if [ -f "${__file}.bak" ]; then
mv "${__file}.bak" "${__file}"
fi
}
post_install() {