nixos/nextcloud: fix missing quotes arround $* in occ wrapper and replace with $@

This will allow this to work:
    nextcloud-occ config:app:set theming slogan --value="A place for testing"
wip/yesman
Robbert Gurdeep Singh 4 years ago committed by Bjørn Forsman
parent 16b80104bf
commit caa725a6fd
  1. 2
      nixos/modules/services/web-apps/nextcloud.nix

@ -39,7 +39,7 @@ let
export NEXTCLOUD_CONFIG_DIR="${cfg.home}/config"
$sudo \
${phpPackage}/bin/php \
occ $*
occ "$@"
'';
inherit (config.system) stateVersion;

Loading…
Cancel
Save