Added a test for the vendor prefix for desktop entries
This commit is contained in:
parent
c610c4a62b
commit
ff2d044705
|
@ -69,6 +69,15 @@ _deforaos_release()
|
||||||
return $?
|
return $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
for i in data/*.desktop; do
|
||||||
|
[ ! -e "$i" ] && break
|
||||||
|
basename="${i#data/}"
|
||||||
|
if [ "$basename" = "${basename#deforaos-}" ]; then
|
||||||
|
_error "data/$basename has no vendor prefix"
|
||||||
|
return $?
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
if test -f "po/$PACKAGE.pot"; then
|
if test -f "po/$PACKAGE.pot"; then
|
||||||
_info "Checking the translations..."
|
_info "Checking the translations..."
|
||||||
$RM -- "po/$PACKAGE.pot" || return 2
|
$RM -- "po/$PACKAGE.pot" || return 2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user