[SCM] sddm packaging branch, pu/stretch-theme, updated. debian/0.13.0-1-22-ga218e4b

Aurélien COUDERC coucouf-guest at moszumanska.debian.org
Sun Dec 4 22:57:31 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-std/sddm.git;a=commitdiff;h=a218e4b

The following commit has been merged in the pu/stretch-theme branch:
commit a218e4b882831af1e4e62799e7d33900b9473e42
Author: Aurélien COUDERC <zecoucou at free.fr>
Date:   Sun Dec 4 23:36:31 2016 +0100

    Use more common dash instead of bash for postinst also for non-Debian themes
---
 debian/sddm-theme-elarun.postinst   | 4 ++--
 debian/sddm-theme-maldives.postinst | 4 ++--
 debian/sddm-theme-maui.postinst     | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/sddm-theme-elarun.postinst b/debian/sddm-theme-elarun.postinst
index 5c8c6f6..ea56d84 100644
--- a/debian/sddm-theme-elarun.postinst
+++ b/debian/sddm-theme-elarun.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-maldives.postinst b/debian/sddm-theme-maldives.postinst
index b839cec..9929570 100644
--- a/debian/sddm-theme-maldives.postinst
+++ b/debian/sddm-theme-maldives.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-maui.postinst b/debian/sddm-theme-maui.postinst
index 6fdd323..2150320 100644
--- a/debian/sddm-theme-maui.postinst
+++ b/debian/sddm-theme-maui.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 \

-- 
sddm packaging



More information about the pkg-kde-commits mailing list