summaryrefslogblamecommitdiff
path: root/move_debs
blob: 06d9c12f57229828bc1e00eaa6cd0644727896d1 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                

       
                                        

 



                                       
                                
                                                                          

                                          
                                                                                         
#!/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

chown jranke $DIST/*${DIST}cran*_amd64.deb
mv -v $DIST/*${DIST}cran*_amd64.deb /home/jranke/svn/website/www/ranke/r-cran/$DIST-cran3

Contact - Imprint