debmaker/postrun.sh
2024-04-13 23:16:05 +02:00

6 lines
568 B
Bash
Executable file

rsync -a --delete --progress -e 'ssh -J lgy.fr' ./dist/ deb.net.lgy.fr:/tmp/new
ssh -R /root/.gnupg/S.gpg-agent:/run/user/1000/gnupg/S.gpg-agent.extra -J lgy.fr deb.net.lgy.fr 'reprepro -Vb /var/www/html/ includedeb tools /tmp/new/*'
echo move to /tmp/
mv ./dist/* /tmp/
#ssh -R /root/.gnupg/S.gpg-agent:/run/user/1000/gnupg/S.gpg-agent.extra -J lgy.fr deb.net.lgy.fr 'reprepro -Vb /var/www/html/ export tools /tmp/new/*'
#ssh -R /root/.gnupg/S.gpg-agent:/run/user/1000/gnupg/S.gpg-agent.extra -J lgy.fr deb.net.lgy.fr 'reprepro -Vb /var/www/html/ deleteunreferenced'