[SCM] breeze-plymouth packaging branch, master, updated. 582490f8caa182c3de34252c9adb27bbc36434b3

Maximiliano Curia maxy at moszumanska.debian.org
Sun Jun 5 11:52:02 UTC 2016


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

The following commit has been merged in the master branch:
commit 582490f8caa182c3de34252c9adb27bbc36434b3
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Sun Jun 5 13:51:28 2016 +0200

    Update pre/post inst scripts.
---
 debian/plymouth-theme-breeze.postinst |  2 --
 debian/plymouth-theme-breeze.prerm    | 10 ++++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/plymouth-theme-breeze.postinst b/debian/plymouth-theme-breeze.postinst
index b9aec35..68c90aa 100644
--- a/debian/plymouth-theme-breeze.postinst
+++ b/debian/plymouth-theme-breeze.postinst
@@ -23,8 +23,6 @@ case "$1" in
             THEMEDIR=/usr/share/plymouth/themes/
             update-alternatives --remove default.plymouth /lib/plymouth/themes/breeze/breeze.plymouth || true
             update-alternatives --remove text.plymouth /lib/plymouth/themes/breeze-text/breeze-text.plymouth || true
-        else
-            THEMEDIR=/lib/plymouth/themes/
         fi
 
         update-alternatives \
diff --git a/debian/plymouth-theme-breeze.prerm b/debian/plymouth-theme-breeze.prerm
index ac2f67a..ddc2a73 100644
--- a/debian/plymouth-theme-breeze.prerm
+++ b/debian/plymouth-theme-breeze.prerm
@@ -13,9 +13,15 @@ error()
 case "$1" in
     remove)
         update-alternatives --remove \
-	   default.plymouth /lib/plymouth/themes/breeze/breeze.plymouth || error "Failed to update-alternatives"
+	   default.plymouth /lib/plymouth/themes/breeze/breeze.plymouth ||
+           update-alternatives --remove \
+           default.plymouth /usr/share/plymouth/themes/breeze/breeze.plymouth ||
+           error "Failed to update-alternatives"
         update-alternatives --remove \
-	   text.plymouth /lib/plymouth/themes/breeze-text/breeze-text.plymouth || error "Failed to update-alternatives text.plymouth"
+	   text.plymouth /lib/plymouth/themes/breeze-text/breeze-text.plymouth ||
+           update-alternatives --remove \
+           text.plymouth /usr/share/plymouth/themes/breeze-text/breeze-text.plymouth ||
+           error "Failed to update-alternatives text.plymouth"
 
         if which update-initramfs >/dev/null 2>&1; then
             update-initramfs -u || error "Failed to update-initramfs"

-- 
breeze-plymouth packaging



More information about the pkg-kde-commits mailing list