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

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2021-05-29 23:44:11 +0300
committerGitHub <noreply@github.com>2021-05-29 23:44:11 +0300
commitb86f0079c493bd97c315eee5044f4de27e5d8874 (patch)
treed071e14b2867d1fbbb20b3ebbf3b08e70f9120b1 /apps/face-recognition.sh
parent92ed4baf667525529978a3209262aa2ed93fa63b (diff)
add more functionality to curl_to_dir (#2006)
Signed-off-by: szaimen <szaimen@e.mail.de> Co-authored-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps/face-recognition.sh')
-rw-r--r--apps/face-recognition.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/face-recognition.sh b/apps/face-recognition.sh
index c230f1a9..c2dd65c5 100644
--- a/apps/face-recognition.sh
+++ b/apps/face-recognition.sh
@@ -54,6 +54,7 @@ else
rm -f /etc/apt/sources.list.d/20-pdlib.list
apt update -q4 & spinner_loading
apt autoremove -y
+ rm -f /etc/apt/trusted.gpg.d/facerecognititon.gpg
fi
crontab -u www-data -l | grep -v "face_background_job.log" | crontab -u www-data -
crontab -u www-data -l | grep -v "face:background_job" | crontab -u www-data -
@@ -89,8 +90,10 @@ fi
# Install requirements
# https://github.com/matiasdelellis/facerecognition/wiki/Installation#ubuntu-focal
+curl_to_dir https://repo.delellis.com.ar "repo.gpg.key" "$SCRIPTS"
+check_command apt-key --keyring /etc/apt/trusted.gpg.d/facerecognititon.gpg add "$SCRIPTS/repo.gpg.key"
+rm -f "$SCRIPTS/repo.gpg.key"
echo "deb https://repo.delellis.com.ar focal focal" > /etc/apt/sources.list.d/20-pdlib.list
-wget -qO - https://repo.delellis.com.ar/repo.gpg.key | sudo apt-key add -
apt update -q4 & spinner_loading
install_if_not php7.4-pdlib