mirror of
https://git.rockylinux.org/rocky/comps.git
synced 2024-11-21 20:51:24 +00:00
13 lines
266 B
Bash
Executable File
13 lines
266 B
Bash
Executable File
#!/bin/bash
|
|
|
|
COMPSFILE=$1
|
|
DISTRO=$2
|
|
|
|
if [ -z "$COMPSFILE" ]; then
|
|
echo "Usage: $0 <compsfile>"
|
|
exit 1
|
|
fi
|
|
|
|
LANG=C intltool-merge -x -u po/ $COMPSFILE.in $COMPSFILE
|
|
xsltproc --stringparam distro $DISTRO --novalid -o $COMPSFILE comps-distro-only.xsl $COMPSFILE
|