Sha256: f1ae14639bdf613e0d79b05f074238d15aa48a9f50b0e914b1cee4944977d415
Contents?: true
Size: 797 Bytes
Versions: 1
Compression:
Stored size: 797 Bytes
Contents
#!/bin/bash # preinst script can be called with arguments 'install', 'upgrade' and 'abort-upgrade'. set -e #DEBHELPER# OVERSIP_GEM_VERSION="~>1.0.3" case "$1" in install) # 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 -v $OVERSIP_GEM_VERSION ;; upgrade) # Install the Ruby gem. echo "installing 'oversip' Ruby Gem (version $OVERSIP_GEM_VERSION)..." gem1.9.1 install oversip --no-rdoc --no-ri -v $OVERSIP_GEM_VERSION ;; esac exit 0 #DEBHELPER#
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oversip-1.0.3 | debian/preinst |