7
0
mirror of https://git.rockylinux.org/rocky/comps.git synced 2024-11-21 20:51:24 +00:00

update-comps should be checking for distro usage

This commit is contained in:
Louis Abel 2024-08-08 23:26:05 -07:00
parent d5014e654f
commit aa86d89459
Signed by: label
GPG Key ID: 2A6975660E424560

View File

@ -3,9 +3,9 @@
COMPSFILE=$1 COMPSFILE=$1
DISTRO=$2 DISTRO=$2
if [ -z "$COMPSFILE" ]; then if [ -z "$COMPSFILE" ] || [ -z "$DISTRO" ]; then
echo "Usage: $0 <compsfile>" echo "Usage: $0 <compsfile> <distro>"
exit 1 exit 1
fi fi
LANG=C intltool-merge -x -u po/ $COMPSFILE.in $COMPSFILE LANG=C intltool-merge -x -u po/ $COMPSFILE.in $COMPSFILE