File: 0install-core.postinst

package info (click to toggle)
zeroinstall-injector 2.12.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,224 kB
  • sloc: ml: 25,383; xml: 2,611; ansic: 227; sh: 196; makefile: 137; 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#