#!/bin/sh # Goal: print entirety of a useful OBS service file ##################################### # Load settings # basically, dot-source the conf file. test -z "${librewolf_dpkg_conf}" && export librewolf_dpkg_conf="$( find "$( dirname "${0}" )" -maxdepth 2 -name "prep-librewolf-dpkg.conf" -print 2>/dev/null | head -n1 )" test ! -r "${librewolf_dpkg_conf}" && { echo "Unable to load config file, which should be named prep-librewolf-dpkg.conf. Aborted." 1>&2 ; exit 1 ; } . "${librewolf_dpkg_conf}" cat < ${ARTIFACT_PROTOCOL} ${ARTIFACT_HOSTNAME} ${ARTIFACT_PATHDIR}/librewolf_${distro_firefox_version}.debian.tar.xz librewolf_${distro_firefox_version}.debian.tar.xz ${ARTIFACT_PROTOCOL} ${ARTIFACT_HOSTNAME} ${ARTIFACT_PATHDIR}/librewolf_${distro_firefox_version}.dsc librewolf_${distro_firefox_version}.dsc ${ARTIFACT_PROTOCOL} ${ARTIFACT_HOSTNAME} ${ARTIFACT_PATHDIR}/librewolf_${firefox_version}.orig.tar.xz librewolf_${firefox_version}.orig.tar.xz EOF