From 34e2de8e7c5b9345523c0e4f90c53db6ae803139 Mon Sep 17 00:00:00 2001 From: Eduard Veit Date: Thu, 20 Oct 2022 09:25:50 +0200 Subject: [PATCH] feat(Nextcloud): use exec for ncc wrapper --- nextcloud-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud-installer.sh b/nextcloud-installer.sh index a22ce32..a812b75 100644 --- a/nextcloud-installer.sh +++ b/nextcloud-installer.sh @@ -252,9 +252,9 @@ end_of_content function install_ncc { touch ~/bin/ncc - cat << 'end_of_content' > ~/bin/ncc + cat << end_of_content > ~/bin/ncc #!/usr/bin/env bash -php ~/html/occ "$@" +exec php /var/www/virtual/\$USER/html/occ "\$@" end_of_content chmod u+x ~/bin/ncc }