[gitea] Update image check with correct var
This commit is contained in:
parent
db8455ea7b
commit
d8eefcea1e
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ IMAGE=/tmp/$NAME.raw
|
|||
|
||||
ALPINE_TARBALL=alpine-minirootfs-$ALPINE_VERSION.$ALPINE_RELEASE-x86_64.tar.gz
|
||||
|
||||
[ -f $NAME.raw ] && rm $NAME.raw
|
||||
[ -f $IMAGE.raw ] && rm $IMAGE.raw
|
||||
[ -f $ALPINE_TARBALL ] || wget http://dl-cdn.alpinelinux.org/alpine/v$ALPINE_VERSION/releases/x86_64/$ALPINE_TARBALL
|
||||
|
||||
(sudo systemctl stop $NAME.service && sudo portablectl detach $NAME) || echo "Image not attached."
|
||||
|
|
Loading…
Reference in a new issue