From c1242a7713bfb80dea0f2d2d9467b62877a7c7a3 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Tue, 30 Nov 2021 15:49:51 -0500
Subject: [PATCH] mate-tweak: revert modification to start check for compton

---
 helpers/make-mate-tweak | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/helpers/make-mate-tweak b/helpers/make-mate-tweak
index 7359dca6..5df50017 100644
--- a/helpers/make-mate-tweak
+++ b/helpers/make-mate-tweak
@@ -18,7 +18,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=6
+VERSION=7
 
 . ./config
 
@@ -27,7 +27,7 @@ sed -i 's/Manjaro/Trisquel/g' mate-tweak
 
 # Disable composition on llvm
 sed 's/Software Rasterizer/Accelerated: no/' -i mate-tweak
-sed '2a # Do not run without 3D acceleration\nglxinfo | grep -q "Accelerated: no" && exit 0\n' -i marco-compton
+sed '/no-composite/a # Do not run without 3D acceleration\nglxinfo | grep -q "Accelerated: no" && exit 0\n' -i marco-compton
 
 # Allow loading global compton config file
 sed '/for this wrapper./aif [ -f /etc/xdg/compton.conf]; then \n    compton --config /etc/xdg/compton.conf' -i marco-compton
-- 
GitLab