diff options
Diffstat (limited to 'backport_others.sh')
-rw-r--r-- | backport_others.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backport_others.sh b/backport_others.sh index bd33e75..f9c2bad 100644 --- a/backport_others.sh +++ b/backport_others.sh @@ -4,11 +4,12 @@ # sudo -E sh backport_others.sh # Preconditions: - shell variables DIST and ARCH -# - sources for current R backport in /etc/apt/sources/list +# - current R backport in /etc/apt/sources/list # - sid sources in /etc/apt/sources/list # - ssed and cdbs installed (and maybe more) # - Edit the sed scripts below to adapt the build dependencies -# to the appropriate version of r-base-dev +# (don't forget distribution name) to the appropriate version of +# r-base-dev # - Set the R version # R version against which the software is compiled @@ -24,7 +25,7 @@ pbuilder update #for i in vr; do for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix rodbc rpart survival littler; do - apt-get source -t unstable $i + apt-get source $i cd $i-* version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion dch -b -v $version --force-distribution -D $DIST-cran $text |