From f466256dccc49798baf018ebf18740eb3233f22d Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Sat, 6 Dec 2008 14:00:41 +0000 Subject: [PATCH] * debian/postinst: - make sure we can use /etc/splashy/config.xml. --- debian/changelog | 4 +++- debian/postinst | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index d33062b..696594d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,8 +7,10 @@ desktop-base (5.0.3) UNRELEASED; urgency=low * debian/control: - add ${misc:Depends} in Depends: line in case debhelper has something to put there. + * debian/postinst: + - make sure we can use /etc/splashy/config.xml. - -- Yves-Alexis Perez Mon, 01 Dec 2008 14:44:30 +0100 + -- Yves-Alexis Perez Sat, 06 Dec 2008 14:41:07 +0100 desktop-base (5.0.2) unstable; urgency=low diff --git a/debian/postinst b/debian/postinst index 49a6813..08c6808 100644 --- a/debian/postinst +++ b/debian/postinst @@ -91,7 +91,7 @@ if [ "$1" = "configure" -o "$1" = "abort-upgrade" ]; then update-grub2 fi - if [ -x /sbin/splashy_config ]; then + if [ -x /sbin/splashy_config ] && [ -w /etc/splashy/config.xml ]; then splashy_config --set-theme moreblue-orbit fi