summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-07-08 16:00:56 +0200
committerMichael Palimaka <kensington@gentoo.org>2016-09-01 00:23:26 +1000
commitddd6e319e56805c8ebb5e8f9a2bba947d7dcc8a3 (patch)
tree15a6c9f7ecbbd4722c819f14712b9f8736d4e3fe /eclass
parentkde5.eclass: Set HOMEPAGE for KMNAME=kdepim (diff)
downloadgentoo-ddd6e319e56805c8ebb5e8f9a2bba947d7dcc8a3.tar.gz
gentoo-ddd6e319e56805c8ebb5e8f9a2bba947d7dcc8a3.tar.bz2
gentoo-ddd6e319e56805c8ebb5e8f9a2bba947d7dcc8a3.zip
kde5.eclass: Don't remove existing po/${PN}.pot file
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 5423c385c768..887a84bd9f69 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -462,7 +462,7 @@ EOF
cmake_comment_add_subdirectory ${lang}
fi
elif ! has ${lang/.po/} ${LINGUAS} ; then
- if [[ ${lang} != CMakeLists.txt ]] ; then
+ if [[ ${lang} != CMakeLists.txt && ${lang} != ${PN}.pot ]] ; then
rm ${lang} || die
fi
fi