diff options
| author | Johannes Ranke <johannes.ranke@jrwb.de> | 2025-11-01 16:12:31 +0100 |
|---|---|---|
| committer | Johannes Ranke <johannes.ranke@jrwb.de> | 2025-11-01 16:12:31 +0100 |
| commit | eddf440b735f1c4488e5e61310bd10e35da50c1a (patch) | |
| tree | 0dccf13c7d0ef01e90e691b4cba56389c44b579d | |
| parent | 8172d1a6c26167205011544461572a0e12f51609 (diff) | |
| -rwxr-xr-x | backport | 4 | ||||
| -rwxr-xr-x | backport_others | 4 | ||||
| -rwxr-xr-x | clean | 4 | ||||
| -rwxr-xr-x | move_debs | 4 | ||||
| -rwxr-xr-x | move_debs_arm64 | 4 |
5 files changed, 10 insertions, 10 deletions
@@ -22,7 +22,7 @@ rcrandir=/home/jranke/git/uni-bremen/website/www/ranke/r-cran usage() { -echo "Usage: ./backport [options] sourcepackage bullseye|bookworm|trixie" +echo "Usage: ./backport [options] sourcepackage 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" ] && [$DIST != "trixie"]; then usage; exit 1; fi +if [ $DIST != "bookworm" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi export DIST # Remove previously extracted sources diff --git a/backport_others b/backport_others index 482c860..da34d7c 100755 --- a/backport_others +++ b/backport_others @@ -11,7 +11,7 @@ export ARCH usage() { -echo "Usage: ./backport_others [options] bullseye|bookworm|trixie" +echo "Usage: ./backport_others [options] 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" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi +if [ $DIST != "bookworm" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi export DIST # When doing a new repository, do lattice, r-cran-mass @@ -4,14 +4,14 @@ usage() { -echo "Usage: ./clean [bullseye|bookworm|trixie]" +echo "Usage: ./clean [bookworm|trixie]" } if [ $# -gt 1 ]; then usage; exit 1; fi if [ $# -eq 1 ] then DIST=$1 - if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi + if [ $DIST != "bookworm" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi cd $DIST fi @@ -4,7 +4,7 @@ usage() { -echo "Usage: ./move_debs bullseye|bookworm|trixie" +echo "Usage: ./move_debs 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" ]&& [ $DIST != "trixie" ]; then usage; exit 1; fi +if [ $DIST != "bookworm" ] && [ $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 8cb7999..7a2ae55 100755 --- a/move_debs_arm64 +++ b/move_debs_arm64 @@ -4,7 +4,7 @@ usage() { -echo "Usage: ./move_debs bullseye|bookworm|trixie" +echo "Usage: ./move_debs 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" ] && [ $DIST != "trixie" ]; then usage; exit 1; fi +if [ $DIST != "bookworm" ] && [ $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 |
