File: 0install-core.postinst

package info (click to toggle)
zeroinstall-injector 2.18-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,500 kB
  • sloc: ml: 26,524; xml: 2,700; ansic: 319; sh: 236; makefile: 133; 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#