kf5-filesystem/localekf5.prov
Luca Beltrame e264d886ec Accepting request 790601 from home:Vogtinator:boo1167317
- Use %license
- Drop condition for Leap <= 42.1
- Add localekf5.attr and localekf5.prov (boo#1167317)

OBS-URL: https://build.opensuse.org/request/show/790601
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kf5-filesystem?expand=0&rev=76
2020-04-01 18:24:08 +00:00

17 lines
320 B
Bash

#!/bin/bash
targetpkg="$1"
if [ "${targetpkg%-lang}" != "$1" ]; then
targetpkg="${targetpkg%-lang}"
elif [ "${targetpkg%-locale}" != "$1" ]; then
targetpkg="${targetpkg%-locale}"
else
# discard input
cat >/dev/null
exit 0
fi
while read line; do
l="${line%%/LC_MESSAGES/*}"
l="${l##*/}"
echo "$targetpkg:$l"
done