summaryrefslogtreecommitdiff
path: root/debian/postinst
blob: 702b7717230c91b0c088f7bcbee45405b909a0f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# postinst script for rharchive

set -e

if [ -x "/etc/init.d/rharchive" ]; then
  update-rc.d rharchive defaults >/dev/null
fi

if [ "$1" = "configure" ]; then
  adduser --quiet --system --group --no-create-home --home /var/run/rharchive rharchive
fi