mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-22 04:43:00 +00:00
Merge branch 'release/0.0.3'
This commit is contained in:
commit
4aac4eb331
3 changed files with 12 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
# kiwi-config instance configuration #
|
# kiwi-config instance configuration #
|
||||||
######################################
|
######################################
|
||||||
|
|
||||||
version: '0.0.2'
|
version: '0.0.3'
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
storage: /tmp/kiwi
|
storage: /tmp/kiwi
|
||||||
|
|
9
kiwi
9
kiwi
|
@ -91,15 +91,20 @@ if [ ! -x "$(kiwi_executable)" ]; then
|
||||||
cd "kiwi-config-${KIWI_VERSION}" || :
|
cd "kiwi-config-${KIWI_VERSION}" || :
|
||||||
KIWI_VERSION=$(cat "./src/${KIWI_VERSION_TAG}")
|
KIWI_VERSION=$(cat "./src/${KIWI_VERSION_TAG}")
|
||||||
|
|
||||||
|
if [ -x "$(kiwi_executable)" ]; then
|
||||||
|
# after version update: no need to install
|
||||||
|
echo "kiwi-config v${KIWI_VERSION} found!"
|
||||||
|
|
||||||
|
else
|
||||||
# install archive
|
# install archive
|
||||||
mkdir -p "$(kiwi_installdir)"
|
mkdir -p "$(kiwi_installdir)"
|
||||||
mv "src" "Pipfile" "Pipfile.lock" "$(kiwi_installdir)/"
|
mv "src" "Pipfile" "Pipfile.lock" "$(kiwi_installdir)/"
|
||||||
|
echo "OK"
|
||||||
|
fi
|
||||||
|
|
||||||
# discard temp dir
|
# discard temp dir
|
||||||
cd "${WORKDIR}" || :
|
cd "${WORKDIR}" || :
|
||||||
rm -rf "${tmpdir}"
|
rm -rf "${tmpdir}"
|
||||||
|
|
||||||
echo "OK"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check virtualenv
|
# check virtualenv
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.0.2
|
0.0.3
|
Loading…
Reference in a new issue