move computers/cain/fish/void-{quick,repo} to fish/
parent
ca03698f0d
commit
9ec91ddbc0
|
@ -1,6 +0,0 @@
|
|||
# vim: syntax=fish:
|
||||
|
||||
function xrupdate -d "Sign and upload voidlinux package repository"
|
||||
xbps-rindex --privkey $_agw_secret_void_privkey --sign-pkg "$XBPS_HOSTDIR"/binpkgs/*.xbps
|
||||
rsync -azvh --progress "$XBPS_HOSTDIR"/binpkgs/* "$_agw_secret_void_copy_dir"
|
||||
end
|
|
@ -0,0 +1,22 @@
|
|||
# vim: syntax=fish:
|
||||
|
||||
function xrreload -d "Reload all packages into the package repository"
|
||||
xbps-rindex -f --add "$XBPS_HOSTDIR"/binpkgs/*.xbps
|
||||
end
|
||||
|
||||
function xrsync -d "Upload voidlinux package repository"
|
||||
rsync $argv -azvh --delete --progress \
|
||||
"$XBPS_HOSTDIR"/binpkgs/ \
|
||||
"$_agw_secret_void_copy_dir"
|
||||
end
|
||||
|
||||
function xrupdate -d "Sign and upload voidlinux package repository"
|
||||
xrreload
|
||||
xbps-rindex --privkey "$_agw_secret_void_privkey" \
|
||||
--sign-pkg "$XBPS_HOSTDIR"/binpkgs/*.xbps
|
||||
xrsync --dry-run
|
||||
echo "continue? [yes/no]"
|
||||
if test (read) = "yes"
|
||||
xrsync
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue