diff options
author | Ken Moore <ken@ixsystems.com> | 2019-04-27 09:29:11 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2019-04-27 09:29:11 -0400 |
commit | 910dd498d245e680e0bd102bc09f6499ac712cf5 (patch) | |
tree | 28da6cc2d4efb34f5528e87ca549cfbcbf8b9fe5 /port-files/debian/merge-lumina-i18n.sh | |
parent | Ensure that the browser path is always canonical. (diff) | |
download | lumina-910dd498d245e680e0bd102bc09f6499ac712cf5.tar.gz lumina-910dd498d245e680e0bd102bc09f6499ac712cf5.tar.bz2 lumina-910dd498d245e680e0bd102bc09f6499ac712cf5.zip |
Move the old debian/ebuild/spec port files into an obsolete directory.
If somebody wants to update them, they can get moved back into the main dir, but need to clearly mark that they are for old/obsolete versions only.
Diffstat (limited to 'port-files/debian/merge-lumina-i18n.sh')
-rwxr-xr-x | port-files/debian/merge-lumina-i18n.sh | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/port-files/debian/merge-lumina-i18n.sh b/port-files/debian/merge-lumina-i18n.sh deleted file mode 100755 index a69bcbfe..00000000 --- a/port-files/debian/merge-lumina-i18n.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -CURDIR="${PWD}" -LNGDIR="${PWD}/lumina-i18n/ts" - -git clone https://github.com/pcbsd/lumina-i18n.git - -[[ ! -d "${LNGDIR}" ]] && (echo "something went wrong!" && exit 1) - -LANGS=("${LNGDIR}"/*) -LANGS=(${LANGS[@]/*\/ts\/}) - -UTILS=( config desktop fileinfo fm info open screenshot search textedit xconfig ) - -for lng in ${LANGS[@]}; do - for utl in ${UTILS[@]}; do - if [[ -e "${LNGDIR}"/${lng}/lumina-${utl}.ts ]]; then - if [[ -d "${CURDIR}"/src-qt5/core/lumina-${utl} ]]; then - cp "${LNGDIR}"/${lng}/lumina-${utl}.ts \ - "${CURDIR}"/src-qt5/core/lumina-${utl}/i18n/lumina-${utl}_${lng}.ts - elif [[ -d "${CURDIR}"/src-qt5/core-utils/lumina-${utl} ]]; then - cp "${LNGDIR}"/${lng}/lumina-${utl}.ts \ - "${CURDIR}"/src-qt5/core-utils/lumina-${utl}/i18n/lumina-${utl}_${lng}.ts - elif [[ -d "${CURDIR}"/src-qt5/desktop-utils/lumina-${utl} ]]; then - cp "${LNGDIR}"/${lng}/lumina-${utl}.ts \ - "${CURDIR}"/src-qt5/desktop-utils/lumina-${utl}/i18n/lumina-${utl}_${lng}.ts - fi - fi - done -done - -echo "updated lumina translations." - -# satisfy dpkg-source when building a GIT snapshot -# first ensure all translations are known to GIT -# then create a commit using only the translation files -# other changes to the source will still be tracked by dpkg-source -[[ -d "${CURDIR}"/.git ]] && ( git add src-qt5/*/*/i18n/*.ts && git commit src-qt5/*/*/i18n/*.ts \ - -m "merge latest translations from https://github.com/pcbsd/lumina-i18n.git" ) - -rm -rf lumina-i18n |