Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/nextcloudpi-config.d/nc-scan.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/nc-scan.sh b/etc/nextcloudpi-config.d/nc-scan.sh
index e1bf0f42..a3a11667 100644
--- a/etc/nextcloudpi-config.d/nc-scan.sh
+++ b/etc/nextcloudpi-config.d/nc-scan.sh
@@ -19,6 +19,7 @@ DESCRIPTION="Scan NC for externally modified files"
install()
{
cat > /usr/local/bin/ncp-scan <<EOF
+#!/bin/bash
cd /var/www/nextcloud
sudo -u www-data php occ files:scan --all
EOF