Fix 'test' syntax in Bookwyrm package
This commit is contained in:
parent
59f4d7fc76
commit
edf97f1df0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue