Sha256: 8a349b9c69eb7291a70db6db2ee5eb1d89df80515007be95a32381c094c24096

Contents?: true

Size: 473 Bytes

Versions: 4

Compression:

Stored size: 473 Bytes

Contents

#!/bin/sh -e

case "$1" in
    configure)
	if ! id jetty > /dev/null 2>&1 ; then
	    adduser --system --home /usr/share/jetty6 --no-create-home \
		--ingroup nogroup --disabled-password --shell /bin/false \
		jetty
	fi
	chown -R jetty:adm /var/cache/jetty6 /var/log/jetty6 /var/lib/jetty6
	chmod 750 /var/log/jetty6
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
	echo "$0 called with unknown argument \`$1'" >&2
	exit 1
    ;;
esac

#DEBHELPER#

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
miso-java-0.1.5 jetty/contrib/debian/src/main/debian/jetty6.postinst
miso-java-0.1.4 jetty/contrib/debian/src/main/debian/jetty6.postinst
miso-java-0.1.3 jetty/contrib/debian/src/main/debian/jetty6.postinst
miso-java-0.1.2 jetty/contrib/debian/src/main/debian/jetty6.postinst