[education/rkward] scripts: Fix PPA upload script

Thomas Friedrichsmeier null at kde.org
Tue Feb 8 14:59:15 GMT 2022


Git commit 019f8bf50d9d2a721568f306505b4b05a4448f80 by Thomas Friedrichsmeier.
Committed on 08/02/2022 at 14:58.
Pushed by tfry into branch 'master'.

Fix PPA upload script

M  +4    -5    scripts/makeppa_upload.sh

https://invent.kde.org/education/rkward/commit/019f8bf50d9d2a721568f306505b4b05a4448f80

diff --git a/scripts/makeppa_upload.sh b/scripts/makeppa_upload.sh
index a3f2fbd3..56bc3218 100755
--- a/scripts/makeppa_upload.sh
+++ b/scripts/makeppa_upload.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 ## begin: These may need adjusting!
-TARGETS="xenial bionic focal eoan"
+TARGETS="jammy focal bionic"
 AUTHOR="Thomas Friedrichsmeier <tfry at users.sourceforge.net>"
 ## end: These may need adjusting!
 
@@ -10,7 +10,7 @@ BASEDIR=`pwd`
 PPATEMPDIR=$BASEDIR/ppatemp
 mkdir $PPATEMPDIR
 
-if [ ! -d "$DIRECTORY" ]; then
+if [ ! -d "$BASEDIR/debian" ]; then
 	git clone https://invent.kde.org/tfry/rkward-ppa-support.git debian
 else
 	cd debian
@@ -21,13 +21,12 @@ fi
 if [ "${1}" == "--stable" ]; then
 	shift
 	PPAIDS="rkward-stable rkward-stable-cran rkward-stable-backports-cran"
-	PPAVERSIONSTRING=".1rkward.stable"
-	VERSION=`${BASEDIR}/scripts/getversion.sh ${2}`
+	PPAVERSIONSTRING=".2rkward.stable"
 else
 	PPAIDS="rkward-devel rkward-devel-cran"
 	PPAVERSIONSTRING=".0rkward.devel"
-	VERSION=`${BASEDIR}/scripts/getversion.sh ${1}`
 fi
+VERSION=`${BASEDIR}/scripts/getversion.sh ${1}`
 
 if [ ! -f "${BASEDIR}/rkward-$VERSION.tar.gz" ]; then
   echo "${BASEDIR}/rkward-$VERSION.tar.gz not found. Run makedist.sh, first."


More information about the rkward-tracker mailing list