summaryrefslogtreecommitdiff
path: root/app-office/clean-libreoffice-l10n.sh
blob: 86ffbee7cc2c3e2174794c7ad3a1ca17748193cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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