fix(build): remove unused environment variables

This commit is contained in:
Alex Zenla
2024-06-23 02:27:57 -07:00
parent 349664abf1
commit aa7d3e369a
6 changed files with 4 additions and 15 deletions

View File

@ -7,7 +7,7 @@ remove_service_if_exists() {
UNIT_PATH="$(systemctl show -P FragmentPath "${1}")"
if [ -f "${UNIT_PATH}" ]
then
echo "[WARN] disabling removing systemd unit ${UNIT_PATH}" > /dev/stderr
echo "[WARN] disabling and removing systemd unit ${UNIT_PATH}" > /dev/stderr
systemctl disable --now "${1}" || true
rm "${UNIT_PATH}"
fi