blob: dcc6edeb0b2020aea003a0feb59cb94b89be53af (
plain) (
tree)
|
|
#!/bin/bash
# Move binary packages built in a chroot to the local repository
usage()
{
echo "Usage: ./move_debs stretch|jessie"
}
# Positional argument
if [ $# -lt 1 ]; then usage; exit 1; fi
DIST=$1
# Validate distribution argument
if [ $DIST != "stretch" ] && [ $DIST != "jessie" ]; then usage; exit 1; fi
sudo chown jranke $DIST/*${DIST}cran*_amd64.{deb,build}
mv -v $DIST/*${DIST}cran*_amd64.{deb,build} /home/jranke/svn/website/www/ranke/r-cran/$DIST-cran35
|