Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2017-11-17 20:30:28 +03:00
parent e705636929
commit 067bd41042

13
post-receive Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
self="${PWD##*/}"; self="${self%.git}"
self_url="https://pkg.fleshless.org/$self"
spark_repo=$(<spark.repo)
spark_repo_path="$HOME/public/$spark_repo"
sudo makepkg-overlay "$self_url" "$spark_repo_path"
cd "$spark_repo_path"
"$HOME/scripts/repo-sign" > "$HOME/log/repo-sign.$spark_repo.log"
"$HOME/scripts/repo-clean" > "$HOME/log/repo-clean.$spark_repo.log"