mirror of
https://git.rockylinux.org/rocky/comps.git
synced 2024-11-21 12:41:24 +00:00
update-comps should be checking for distro usage
This commit is contained in:
parent
d5014e654f
commit
aa86d89459
@ -3,9 +3,9 @@
|
||||
COMPSFILE=$1
|
||||
DISTRO=$2
|
||||
|
||||
if [ -z "$COMPSFILE" ]; then
|
||||
echo "Usage: $0 <compsfile>"
|
||||
exit 1
|
||||
if [ -z "$COMPSFILE" ] || [ -z "$DISTRO" ]; then
|
||||
echo "Usage: $0 <compsfile> <distro>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
LANG=C intltool-merge -x -u po/ $COMPSFILE.in $COMPSFILE
|
||||
|
Loading…
Reference in New Issue
Block a user