diff -Nru pkg-kde-tools-0.14.2ubuntu4/debian/changelog pkg-kde-tools-0.14.2ubuntu5/debian/changelog --- pkg-kde-tools-0.14.2ubuntu4/debian/changelog 2012-04-11 13:44:44.000000000 +0000 +++ pkg-kde-tools-0.14.2ubuntu5/debian/changelog 2012-04-12 08:42:29.000000000 +0000 @@ -1,3 +1,10 @@ +pkg-kde-tools (0.14.2ubuntu5) precise; urgency=low + + * Update kubuntu-debhelper-langpack-generate.sh to not fail when no + .pot files are generated + + -- Jonathan Riddell Thu, 12 Apr 2012 09:42:28 +0100 + pkg-kde-tools (0.14.2ubuntu4) precise; urgency=low * In kubuntu-debhelper-langpack-clean.sh fix syntax on variable name diff -Nru pkg-kde-tools-0.14.2ubuntu4/kubuntu/debhelper/kubuntu-debhelper-langpack-generate.sh pkg-kde-tools-0.14.2ubuntu5/kubuntu/debhelper/kubuntu-debhelper-langpack-generate.sh --- pkg-kde-tools-0.14.2ubuntu4/kubuntu/debhelper/kubuntu-debhelper-langpack-generate.sh 2012-04-11 12:58:16.000000000 +0000 +++ pkg-kde-tools-0.14.2ubuntu5/kubuntu/debhelper/kubuntu-debhelper-langpack-generate.sh 2012-04-12 08:42:14.000000000 +0000 @@ -21,6 +21,8 @@ mkdir -p po extract-messages.sh extract-xml.sh -for file in po/*pot; do - sed "s/charset=CHARSET/charset=UTF-8/" -i $file; -done +if [ "$(ls -A po/)" ]; then + for file in po/*pot; do + sed "s/charset=CHARSET/charset=UTF-8/" -i $file; + done +