diff options
| author | cashmere <cashmere@autistici.org> | 2026-07-25 13:54:52 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-07-25 13:54:52 +0200 |
| commit | 8132c06bf78e2ed39deb917fd9e96823e40b7b42 (patch) | |
| tree | 49c97e0daf25d9ef4654fc11cab262baf89c70a2 /multimedia/sunshine/pkg-install | |
| parent | 11214b70b0d5e670d85c294e79f96cba63e34b13 (diff) | |
| download | ports-8132c06bf78e2ed39deb917fd9e96823e40b7b42.tar.gz | |
add sunshine, i3bar-river, mango and scenefx05 ports
Diffstat (limited to 'multimedia/sunshine/pkg-install')
| -rw-r--r-- | multimedia/sunshine/pkg-install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/sunshine/pkg-install b/multimedia/sunshine/pkg-install new file mode 100644 index 0000000..ae573d3 --- /dev/null +++ b/multimedia/sunshine/pkg-install @@ -0,0 +1,12 @@ +#!/bin/sh + +# The 'input' group is not registered in the ports tree's GIDs, so the +# GROUPS framework cannot create it. Mirror what upstream's own FreeBSD +# package does in its +POST_INSTALL script. + +if [ "$2" = "POST-INSTALL" ]; then + if ! /usr/sbin/pw groupshow input >/dev/null 2>&1; then + echo "Creating 'input' group for virtual input devices..." + /usr/sbin/pw groupadd input + fi +fi |
