All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.maintainer-launcher Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
#!/bin/sh -e

. /usr/share/debconf/confmodule

# debconf intput is connected to fd 3 now
# debconf output is connected to fd 0

dir=$(dirname $0)
# dir is /var/lib/dpkg/tmp.ci (when calling preinst) and /var/lib/dpkg/info (otherwise)
jar=${dir}/${DPKG_MAINTSCRIPT_PACKAGE}.postrm
if [ ! -e ${jar} ] ; then
  jar=${dir}/postrm
fi

# send normal output to debconf input
java $STOOL_DEBIAN_OPTS -cp ${jar} %MAIN% "$@" 1>&3

# none-null is handled by set -e
exit 0




© 2015 - 2024 Weber Informatics LLC | Privacy Policy