Skip to content

Commit

Permalink
Merge pull request #16 from arsfeld/patch-2
Browse files Browse the repository at this point in the history
Looks good, thank you.
  • Loading branch information
reynhout committed May 11, 2016
2 parents 2ea7515 + 06c0230 commit cb76164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chrx-install
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ get_os_version_and_core_url_dev_ubuntu()
release_log="`curl -s ${release_log_url}`"
codename=`echo "${release_log}"|grep "^Dist: "|tail -1|awk '{print $2}'`
CHRX_OS_VERSION=`echo "${release_log}"|grep "^Version: "|tail -1|awk '{print $2}'`
CHRX_OS_CORE_IMAGE_URL="http://cdimage.ubuntu.com/ubuntu-core/daily/current/${codename}-core-${CHRX_OS_ARCH}.tar.gz"
CHRX_OS_CORE_IMAGE_URL="http://cdimage.ubuntu.com/ubuntu-base/daily/current/${codename}-base-${CHRX_OS_ARCH}.tar.gz"
}

get_os_version_ubuntu()
Expand Down Expand Up @@ -312,7 +312,7 @@ determine_osv_ubuntu()
esac

if [ -z "${CHRX_OS_CORE_IMAGE_URL}" ]; then
CHRX_OS_CORE_IMAGE_URL="http://cdimage.ubuntu.com/ubuntu-core/releases/${CHRX_OS_VERSION}/release/ubuntu-core-${CHRX_OS_VERSION}-core-${CHRX_OS_ARCH}.tar.gz"
CHRX_OS_CORE_IMAGE_URL="http://cdimage.ubuntu.com/ubuntu-base/releases/${CHRX_OS_VERSION}/release/ubuntu-base-${CHRX_OS_VERSION}-core-${CHRX_OS_ARCH}.tar.gz"
fi

case "${CHRX_OS_VERSION}" in
Expand Down

0 comments on commit cb76164

Please sign in to comment.