New paste Repaste Download
#!/bin/bash
#
#   Create array list: printf ' %s ' *.xml;echo
#
XML=desktop
ZBC=zbuild
XSL=../gen_zbc_v2.xsl
mkdir -v $ZBC
[ ! -d ${XML} ] && { echo "Failure in ${XML} Directory. Exiting."; exit 1; }
[ ! -f ${XSL} ] && { echo "Failure finding ${XSL} File. Exiting."; exit 1; }
XMLFILES=(libdbusmenu-lxqt.xml  libfm-extra.xml  libfm-qt.xml  liblxqt.xml  libqtxdg.xml  libsysstat.xml  lxqt-about.xml  lxqt-admin.xml  lxqt-build-tools.xml  lxqt-config.xml  lxqt-globalkeys.xml  lxqt-kconfig.xml  lxqt-kidletime.xml  lxqt-kwayland.xml  lxqt-kwindowsystem.xml  lxqt-layer-shell.xml  lxqt-libkscreen.xml  lxqt-menu-data.xml  lxqt-openssh-askpass.xml  lxqt-panel.xml  lxqt-policykit.xml  lxqt-powermanagement.xml  lxqt-qtplugin.xml  lxqt-runner.xml  lxqt-session.xml  lxqt-solid.xml  lxqt-sudo.xml  lxqt-themes.xml  menu-cache.xml  muparser.xml  obconf-qt.xml  pcmanfm-qt.xml  post-install.xml  pre-install.xml  qtxdg-tools.xml  xdg-desktop-portal-lxqt.xml)
for x in ${XMLFILES[@]}; do
    if [[ -f ${XML}/${x} ]]; then
        echo " Creating: ${x} "
        xsltproc -o ${ZBC}/${x}.zbc ${XSL} ${XML}/${x}
    else
        echo "Not Found: ${x} "
    fi
done
Filename: make-zbc.sh. Size: 1kb. View raw, , hex, or download this file.

This paste expires on 2025-08-01 19:58:01.745280. Pasted through web.