File: 0install-core.postinst

package info (click to toggle)
zeroinstall-injector 2.12-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,148 kB
  • ctags: 3,348
  • sloc: ml: 25,069; xml: 2,610; ansic: 227; sh: 196; makefile: 136; python: 105
file content (11 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

ZEROINSTALLUSER=zeroinst
SYSTEMCACHE=/var/cache/0install.net/implementations

adduser --home /var/cache/0install.net --system --group --no-create-home --disabled-password "$ZEROINSTALLUSER"
chown "$ZEROINSTALLUSER:$ZEROINSTALLUSER" "$SYSTEMCACHE"

#DEBHELPER#