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

deb.control.preinst Maven / Gradle / Ivy

There is a newer version: 272
Show newest version
#!/bin/bash

set -e

case "$1" in
    install)
        if ! id jmxtrans > /dev/null 2>&1 ; then
            adduser --system --shell /bin/bash --home /home/jmxtrans --disabled-login --disabled-password --group jmxtrans
        fi
    ;;
    upgrade|abort-upgrade)
    ;;
    *)
        echo "preinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0




© 2015 - 2024 Weber Informatics LLC | Privacy Policy