Fix 'test' syntax in Bookwyrm package

This commit is contained in:
Reinout Meliesie 2025-03-09 13:07:28 +01:00
parent 59f4d7fc76
commit edf97f1df0
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -144,7 +144,7 @@ mkDerivation {
cat <<- EOF > $out/bin/bookwyrm-env
#!${bash}/bin/sh
if [ $( id -un ) != "bookwyrm" || $( id -gn ) != "bookwyrm" ] ; then
if [ $( id -un ) != "bookwyrm" -o $( id -gn ) != "bookwyrm" ] ; then
echo "You are not running as the 'bookwyrm' user and group, quitting"
exit 1
fi