Jan Engelhardt 2024-02-06 22:11:08 +00:00 committed by Git OBS Bridge
parent afb54fef80
commit 090382cbf5

View File

@ -136,7 +136,7 @@ perl -i -pe 's{^#!/usr/bin/env python}{#!/usr/bin/python}g' \
"$b/%_datadir/varnish/vmodtool.py" "$b/%_datadir/varnish/vsctool.py"
mkdir -p "$b/%_sysusersdir"
echo 'u - "user for Varnish" %pkg_home' >system-user-varnish.conf
echo 'u varnish - "user for Varnish" %pkg_home' >system-user-varnish.conf
cp -a system-user-varnish.conf "$b/%_sysusersdir/"
%sysusers_generate_pre system-user-varnish.conf random system-user-varnish.conf