delete aur_packages.sh script

This commit is contained in:
Dan 2022-02-05 14:42:31 +13:00
parent f4856bad18
commit 7985039d79
Signed by: dan
GPG Key ID: 57ABEF39C546B028
1 changed files with 0 additions and 12 deletions

View File

@ -1,12 +0,0 @@
#!/bin/bash
# Variables
arch=$(uname -m)
## Add your archive server ip and user (rsync auth user)
server="$(cat /etc/rsyncd.server)"
user="$(cat /etc/rsyncd.user)"
real_user=$SUDO_USER
aurhelper=$(pacman -Qmq | grep -E 'yay|pikaur|paru|trizen')
# Rsync daemon
rsync -chavzP --password-file=/etc/rsyncd.password --ignore-existing /home/$real_user/.cache/$aurhelper/pkg/* rsync://$user@$server/archiverepo/archlinux/$arch/aur