Sha256: 8f3080fe73edc89de8313e6ef2b1f62d4215c2ea622c78f9f683f1e54650df9c
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
#!/bin/bash set -e #DEBHELPER# OVERSIP_GEM_VERSION="~>1.0.0" # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # <new-version> # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' # <failed-install-package> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) # Add a Debian system user/group called "oversip". adduser --quiet --system --group --disabled-password \ --shell /bin/false --gecos "OverSIP" \ --home /var/run/oversip oversip || true # Install the Ruby gem. echo "installing 'oversip' Ruby Gem (version $OVERSIP_GEM_VERSION)..." gem1.9.1 install oversip --no-rdoc --no-ri --conservative -v $OVERSIP_GEM_VERSION ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac exit 0 #DEBHELPER#
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oversip-1.0.0 | debian/postinst |