diff options
author | Saren Arterius | 2018-12-16 01:21:43 +0800 |
---|---|---|
committer | Saren Arterius | 2018-12-16 01:21:43 +0800 |
commit | de88f5a830da66647c6263293a77b8badfff53a0 (patch) | |
tree | 413e13bbbb34c27e0bfbb66ef7e5e3642b1ea6dd /PKGBUILD | |
parent | 2a00a7f3ba400677e9ee2516f6b3c9d6990f7d3a (diff) | |
download | aur-de88f5a830da66647c6263293a77b8badfff53a0.tar.gz |
fix package() fail when mutter workaround not installed
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -6,7 +6,7 @@ pkgname=gnome-shell-performance _pkgname=gnome-shell pkgver=3.30.2+4 -pkgrel=2 +pkgrel=3 pkgdesc="Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches" url="https://wiki.gnome.org/Projects/GnomeShell" arch=(x86_64) @@ -40,8 +40,7 @@ prepare() { # js/ui: Use captured-event::instantaneous [performance] # https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/276 # Requires mutter MR283/commit "clutter-actor: Add detail to captured-event signal [performance]" - pacman -Q | grep mutter-781835-workaround - if [ $? -eq 0 ]; then + if pacman -Q | grep mutter-781835-workaround; then git cherry-pick d12c86cf || bash echo "======= mutter-781835-workaround detected, MR276 is applied =======" sleep 3 |