Package log4j: Скрипты

Post uninstall

1
2
3
4
5
if [ -x install-catalog -a -d /etc/sgml ]; then
  install-catalog --remove \
    /etc/sgml/log4j-2.3-alt1_2jpp8.cat \
    /usr/share/sgml/log4j/catalog > /dev/null || :
fi
Pre uninstall

1
2
3
4
5
6
7
8
9
if [ $1 -eq 0 ]; then
  if [ -x xmlcatalog -a -w /etc/xml/catalog ]; then
    xmlcatalog --noout --del \
      file:///usr/share/sgml/log4j/log4j.dtd \
      /etc/xml/catalog > /dev/null || :
  fi
fi

# TODO: Remove this in F-24