summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README4
-rwxr-xr-xbackport4
-rwxr-xr-xbackport_others4
-rwxr-xr-xclean4
-rwxr-xr-xmove_debs4
-rwxr-xr-xmove_debs_arm644
6 files changed, 12 insertions, 12 deletions
diff --git a/README b/README
index 4e46723..8698131 100644
--- a/README
+++ b/README
@@ -14,8 +14,8 @@ Currently I am using the following setup:
BASETGZ="`dirname $BASETGZ`/$NAME-base.tgz"
BUILDRESULT="/var/cache/pbuilder/$NAME/result/"
APTCACHE="/var/cache/pbuilder/$NAME/aptcache/"
- MIRRORSITE="http://ftp.de.debian.org/debian/"
- OTHERMIRROR="deb http://security.debian.org $DIST/updates main|deb http://ftp.de.debian.org/debian $DIST-backports main|deb http://localhost/r-cran $DIST-cran40/"
+ MIRRORSITE="http://deb.debian.org/debian/"
+ OTHERMIRROR="deb http://security.debian.org/debian-security $DIST-security main|deb http://ftp.de.debian.org/debian $DIST-backports main|deb http://localhost/r-cran $DIST-cran40/"
COMPONENTS="main"
This means I have the appropriate aptcache and buildresult directories set up
diff --git a/backport b/backport
index 322dfc0..3a834ae 100755
--- a/backport
+++ b/backport
@@ -22,7 +22,7 @@ rcrandir=/home/jranke/git/uni-bremen/website/www/ranke/r-cran
usage()
{
-echo "Usage: ./backport [options] sourcepackage bullseye|bookworm"
+echo "Usage: ./backport [options] sourcepackage bullseye|bookworm|trixie"
echo "Options:"
echo " -k, --keep Keep copied source package and directory used for package building"
echo " -s, --skip Skip apt-get update/upgrade and pbuilder update"
@@ -58,7 +58,7 @@ pkg=$1
DIST=$2
# Validate distribution argument
-if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ]; then usage; exit 1; fi
+if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ] && [$DIST != "trixie"]; then usage; exit 1; fi
export DIST
# Remove previously extracted sources
diff --git a/backport_others b/backport_others
index 1191001..482c860 100755
--- a/backport_others
+++ b/backport_others
@@ -11,7 +11,7 @@ export ARCH
usage()
{
-echo "Usage: ./backport_others [options] bullseye|bookworm"
+echo "Usage: ./backport_others [options] bullseye|bookworm|trixie"
echo "Options:"
echo " -s Skip apt-get update/upgrade and pbuilder update"
}
@@ -51,7 +51,7 @@ then
fi
# Validate distribution argument
-if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ]; then usage; exit 1; fi
+if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi
export DIST
# When doing a new repository, do lattice, r-cran-mass
diff --git a/clean b/clean
index 5fcd9b7..e4dfc1d 100755
--- a/clean
+++ b/clean
@@ -4,14 +4,14 @@
usage()
{
-echo "Usage: ./clean [bullseye|bookworm]"
+echo "Usage: ./clean [bullseye|bookworm|trixie]"
}
if [ $# -gt 1 ]; then usage; exit 1; fi
if [ $# -eq 1 ]
then
DIST=$1
- if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ]; then usage; exit 1; fi
+ if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi
cd $DIST
fi
diff --git a/move_debs b/move_debs
index 18ad34d..ffef143 100755
--- a/move_debs
+++ b/move_debs
@@ -4,7 +4,7 @@
usage()
{
-echo "Usage: ./move_debs bullseye|bookworm"
+echo "Usage: ./move_debs bullseye|bookworm|trixie"
}
# Positional argument
@@ -12,7 +12,7 @@ if [ $# -lt 1 ]; then usage; exit 1; fi
DIST=$1
# Validate distribution argument
-if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ]; then usage; exit 1; fi
+if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ]&& [ $DIST != "trixie" ]; 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-bremen/website/www/ranke/r-cran/$DIST-cran40
diff --git a/move_debs_arm64 b/move_debs_arm64
index 34c604b..8cb7999 100755
--- a/move_debs_arm64
+++ b/move_debs_arm64
@@ -4,7 +4,7 @@
usage()
{
-echo "Usage: ./move_debs bullseye|bookworm"
+echo "Usage: ./move_debs bullseye|bookworm|trixie"
}
# Positional argument
@@ -12,7 +12,7 @@ if [ $# -lt 1 ]; then usage; exit 1; fi
DIST=$1
# Validate distribution argument
-if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ]; then usage; exit 1; fi
+if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi
scp arm64:/var/chroot/$DIST-arm64/root/r-backports/$DIST/*${DIST}cran*_arm64.{deb,build} /home/jranke/git/uni-bremen/website/www/ranke/r-cran/$DIST-cran40
sudo chown jranke /home/jranke/git/uni-bremen/website/www/ranke/r-cran/$DIST-cran40

Contact - Imprint