diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-01-14 02:35:34 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-01-14 02:35:34 +0200 |
commit | aa643a9c90fd5b26791a987784ba0209bdbd3fb7 (patch) | |
tree | db7ab20234d982137174e61251a77f452d4c60ba /app-office/clean-libreoffice-l10n.sh | |
parent | f86d4e7da4d5a21761cc8764306908503d291ded (diff) |
Added all the lang packs
Diffstat (limited to 'app-office/clean-libreoffice-l10n.sh')
-rwxr-xr-x | app-office/clean-libreoffice-l10n.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-office/clean-libreoffice-l10n.sh b/app-office/clean-libreoffice-l10n.sh new file mode 100755 index 00000000..86ffbee7 --- /dev/null +++ b/app-office/clean-libreoffice-l10n.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +ver="${1}" + +if [ -z "${ver}" ]; then + echo "${0} <ver>" >&2 + exit 1 +fi + +for libre in libreoffice-l10n-*; do + pushd "${libre}" || exit 1 + git rm "${libre}"-${ver}.ebuild + ebuild "$(ls -1 *.ebuild | head -n 1)" manifest + popd +done |