diff -Nru plymouth-0.9.2/debian/changelog plymouth-0.9.2/debian/changelog
--- plymouth-0.9.2/debian/changelog 2015-12-16 08:43:47.000000000 +0100
+++ plymouth-0.9.2/debian/changelog 2015-12-16 12:22:42.000000000 +0100
@@ -1,3 +1,10 @@
+plymouth (0.9.2-3ubuntu7) xenial; urgency=medium
+
+ * debian/local/plymouth.hook:
+ - protects when themes are none to not take it into the copy loop
+
+ -- Didier Roche <didrocks@ubuntu.com> Wed, 16 Dec 2015 12:22:17 +0100
+
plymouth (0.9.2-3ubuntu6) xenial; urgency=medium
* debian/local/plymouth.hook:
diff -Nru plymouth-0.9.2/debian/local/plymouth.hook plymouth-0.9.2/debian/local/plymouth.hook
--- plymouth-0.9.2/debian/local/plymouth.hook 2015-12-16 09:00:36.000000000 +0100
+++ plymouth-0.9.2/debian/local/plymouth.hook 2015-12-16 12:22:15.000000000 +0100
@@ -31,6 +31,8 @@
THEME="${THEMES}/${THEME}/${THEME}.plymouth"
# create default theme symlink
ln -s "${THEME}" "${DESTDIR}/${THEMES}/default.plymouth"
+else
+ THEME_NAME=""
fi
PLUGIN_PATH="$(plymouth --get-splash-plugin-path)"
@@ -45,6 +47,8 @@
TEXTTHEME="${THEMES}/${TEXTTHEME}/${TEXTTHEME}.plymouth"
# create default text theme symlink
ln -s "${TEXTTHEME}" "${DESTDIR}/${THEMES}/text.plymouth"
+else
+ TEXTTHEME_NAME=""
fi
# ensure we at least have one theme configured