summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-03-18 07:07:24 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2016-03-18 07:07:24 +0100
commit51c49de10bb2bc042ada17c183c7d388736323a3 (patch)
tree641a733e4ee07a74c2493b98a6e4be973590a4b2
parent2300ce09e386f6b421aedcc9337d7fc3bb66fdc1 (diff)
Fix usage and remove squeeze
-rwxr-xr-xmove_debs12
1 files changed, 6 insertions, 6 deletions
diff --git a/move_debs b/move_debs
index 7f1919f..5137e6f 100755
--- a/move_debs
+++ b/move_debs
@@ -2,17 +2,17 @@
# Move binary packages built in a chroot to the local repository
-# Positional argument
-if [ $# -lt 1 ]; then usage; exit 1; fi
-DIST=$1
-
usage()
{
-echo "Usage: ./move_debs squeeze|wheezy|jessie"
+echo "Usage: ./move_debs wheezy|jessie"
}
+# Positional argument
+if [ $# -lt 1 ]; then usage; exit 1; fi
+DIST=$1
+
# Validate distribution argument
-if [ $DIST != "squeeze" ] && [ $DIST != "wheezy" ] && [ $DIST != "jessie" ]; then usage; exit 1; fi
+if [ $DIST != "wheezy" ] && [ $DIST != "jessie" ]; then usage; exit 1; fi
chown jranke $DIST/*${DIST}cran*_amd64.deb
mv $DIST/*${DIST}cran*_amd64.deb /home/jranke/svn/website/www/ranke/r-cran/$DIST-cran3

Contact - Imprint