summaryrefslogtreecommitdiff
path: root/move_debs_riscv64
blob: 18d4bc55d8a9917d8948c8ec80c9ed5d6f784560 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

# Copy binary packages built in a chroot on a remote server to the local repository

usage()
{
echo "Usage: ./move_debs forky|trixie"
}

# Positional argument
if [ $# -lt 1 ]; then usage; exit 1; fi
DIST=$1

# Validate distribution argument
if [ $DIST != "forky" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi

scp f3:/home/jranke/git/r-backports/$DIST/*${DIST}cran*_riscv64.{deb,build} /home/jranke/git/uni-bremen/website/www/ranke/r-cran/$DIST-cran46
sudo chown jranke /home/jranke/git/uni-bremen/website/www/ranke/r-cran/$DIST-cran46

Contact - Imprint