[SCM] plasma-workspace packaging branch, pu/stretch-theme, updated. debian/5.8.4-1-3-g3b1cc3b

Aurélien COUDERC coucouf-guest at moszumanska.debian.org
Sun Dec 4 23:23:00 UTC 2016


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

The following commit has been merged in the pu/stretch-theme branch:
commit e4c5068a2d27c76e2fbff5eb9e13f079887f0e55
Author: Aurélien COUDERC <zecoucou at free.fr>
Date:   Mon Dec 5 00:21:52 2016 +0100

    Use dash instead of bash for themes postinst as bash is not needed
---
 debian/sddm-theme-breeze.postinst        | 4 ++--
 debian/sddm-theme-debian-breeze.postinst | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/sddm-theme-breeze.postinst b/debian/sddm-theme-breeze.postinst
index fd3ded9..ce5dfe8 100644
--- a/debian/sddm-theme-breeze.postinst
+++ b/debian/sddm-theme-breeze.postinst
@@ -1,7 +1,7 @@
-#!/bin/bash
+#!/bin/sh
 set -e
 
-if [[ "$1" = "configure" || "$1" = "abort-upgrade" || "$1" = "abort-remove" ]]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ]; then
     update-alternatives --install \
         /usr/share/sddm/themes/debian-theme \
         sddm-debian-theme \
diff --git a/debian/sddm-theme-debian-breeze.postinst b/debian/sddm-theme-debian-breeze.postinst
index bbad8c8..1cec634 100644
--- a/debian/sddm-theme-debian-breeze.postinst
+++ b/debian/sddm-theme-debian-breeze.postinst
@@ -1,7 +1,7 @@
-#!/bin/bash
+#!/bin/sh
 set -e
 
-if [[ "$1" = "configure" || "$1" = "abort-upgrade" || "$1" = "abort-remove" ]]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ]; then
     update-alternatives --install \
         /usr/share/sddm/themes/debian-theme \
         sddm-debian-theme \

-- 
plasma-workspace packaging



More information about the pkg-kde-commits mailing list