feat(Nextcloud): use exec for ncc wrapper

This commit is contained in:
EV21 committed 2022-10-21 19:58:15 +02:00
1 parent 2a4c107114
commit 34e2de8e7c
1 file changed
+2 -2
+2 -2
View File
@@ -252,9 +252,9 @@ end_of_content
function install_ncc function install_ncc
{ {
touch ~/bin/ncc touch ~/bin/ncc
cat << 'end_of_content' > ~/bin/ncc cat << end_of_content > ~/bin/ncc
#!/usr/bin/env bash #!/usr/bin/env bash
php ~/html/occ "$@" exec php /var/www/virtual/\$USER/html/occ "\$@"
end_of_content end_of_content
chmod u+x ~/bin/ncc chmod u+x ~/bin/ncc
} }