diff options
Diffstat (limited to 'Swift/Packaging/Debian/update_debian_repo.sh')
-rw-r--r-- | Swift/Packaging/Debian/update_debian_repo.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Swift/Packaging/Debian/update_debian_repo.sh b/Swift/Packaging/Debian/update_debian_repo.sh index b057103..fc736ed 100644 --- a/Swift/Packaging/Debian/update_debian_repo.sh +++ b/Swift/Packaging/Debian/update_debian_repo.sh @@ -76,3 +76,3 @@ mkdir -p $APT_REPO_ROOT if [ -z ${SWIFT_PACKAGE_PLATFORMS+x} ]; then - platformsarray=( xenial artful jessie stretch sid ) + platformsarray=( bionic cosmic stretch sid ) else @@ -87,3 +87,3 @@ for full_distribution_path in $INCOMING_FOLDER/{debian,ubuntu}/*; do - if ! [[ $SWIFT_PACKAGE_PLATFORMS == *"$distro_version"* ]]; then + if ! [[ ${platformsarray[@]} == *"$distro_version"* ]]; then echo "$distro_version was not found in SWIFT_PACKAGE_PLATFORMS. Skipping..." @@ -92,4 +92,4 @@ for full_distribution_path in $INCOMING_FOLDER/{debian,ubuntu}/*; do - # ensure reprepro diretctory for this distribution version is present - if [ ! -d "$distro_preprepro_root" ]; then + # ensure reprepro directory for this distribution version is present + if [ ! -d "$distro_reprepro_root" ]; then echo "Create distribution repository for $distro_name/$distro_version" |