diff --git a/packages/bookwyrm/package.nix b/packages/bookwyrm/package.nix index e628199..efe8d9c 100644 --- a/packages/bookwyrm/package.nix +++ b/packages/bookwyrm/package.nix @@ -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