blob: ad91384c2de29e75ad5cb3fc7c5bfecf6a30a695 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
# Move binary packages built in a chroot to the local repository
usage()
{
echo "Usage: ./move_debs stretch|buster"
}
# Positional argument
if [ $# -lt 1 ]; then usage; exit 1; fi
DIST=$1
# Validate distribution argument
if [ $DIST != "stretch" ] && [ $DIST != "buster" ]; then usage; exit 1; fi
sudo chown jranke $DIST/*${DIST}cran*_amd64.{deb,build}
mv -v $DIST/*${DIST}cran*_amd64.{deb,build} /home/jranke/git/uni/website/www/ranke/r-cran/$DIST-cran35
|