[SCM] qtbase packaging branch, master, updated. debian/5.9.2+dfsg-7-3-g104b7e8

Dmitry Shachnev mitya57 at moszumanska.debian.org
Fri Feb 2 21:24:00 UTC 2018


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtbase.git;a=commitdiff;h=104b7e8

The following commit has been merged in the master branch:
commit 104b7e840a70303ec09e187d7e084609cae3f01a
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Feb 3 00:23:48 2018 +0300

    Remove empty /etc/xdg/QtProject directory on upgrades.
    
    Closes: #887806.
---
 debian/changelog             | 1 +
 debian/libqt5core5a.postinst | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5dff32c..20f020b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ qtbase-opensource-src (5.9.2+dfsg-8) UNRELEASED; urgency=medium
 
   [ Dmitry Shachnev ]
   * qmake-cross-wrapper: Add special handling of -makefile and -project flags.
+  * Remove empty /etc/xdg/QtProject directory on upgrades (closes: #887806).
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Wed, 31 Jan 2018 23:28:45 +0300
 
diff --git a/debian/libqt5core5a.postinst b/debian/libqt5core5a.postinst
new file mode 100644
index 0000000..32d5d3a
--- /dev/null
+++ b/debian/libqt5core5a.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = configure ]; then
+    rmdir --ignore-fail-on-non-empty /etc/xdg/QtProject
+fi

-- 
qtbase packaging



More information about the pkg-kde-commits mailing list