[SCM] breeze packaging branch, kubuntu_vivid_archive, updated. bfb31999df847194f6b6dd65886131fbc9b2c2d4

Harald Sitter apachelogger-guest at moszumanska.debian.org
Mon Mar 30 11:10:50 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/plasma/breeze.git;a=commitdiff;h=bfb3199

The following commit has been merged in the kubuntu_vivid_archive branch:
commit bfb31999df847194f6b6dd65886131fbc9b2c2d4
Author: Harald Sitter <sitter at kde.org>
Date:   Mon Mar 30 13:10:46 2015 +0200

    make sure to use secondary priority
    
    otherwise it's a lottery which theme is set up
---
 debian/breeze-cursor-theme.postinst | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/breeze-cursor-theme.postinst b/debian/breeze-cursor-theme.postinst
index ebc8e63..f71a9ce 100644
--- a/debian/breeze-cursor-theme.postinst
+++ b/debian/breeze-cursor-theme.postinst
@@ -6,15 +6,23 @@ MAINPRIORITY=102 # DMZ+2 (was +1 previously, need upgrade)
 SECONDARYPRIORITY=41 # Oxygen+1
 TARGET=/usr/share/icons/default/index.theme
 ICONDIR=/etc/X11/cursors
-THEMES="breeze_cursors Breeze_Snow"
+MAIN_THEMES="breeze_cursors"
+SECONDARY_THEMES="Breeze_Snow"
 
-for theme in $THEMES; do
+for theme in $MAIN_THEMES; do
     update-alternatives --install $TARGET \
         x-cursor-theme \
             $ICONDIR/$theme.theme \
             $MAINPRIORITY
 done
 
+for theme in $SECONDARY_THEMES; do
+    update-alternatives --install $TARGET \
+        x-cursor-theme \
+            $ICONDIR/$theme.theme \
+            $SECONDARYPRIORITY
+done
+
 #DEBHELPER#
 
 exit 0

-- 
breeze packaging



More information about the pkg-kde-commits mailing list