mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix check to exit
This commit is contained in:
parent
36d4486a22
commit
3368729027
2 changed files with 4 additions and 4 deletions
|
@ -66,11 +66,11 @@ cd "${_ISODIR}" || exit 1
|
|||
"archboot-${_ARCH}-release.sh" "${_BUILDDIR}" || rm -r "${_BUILDDIR}"
|
||||
# set user rights on files
|
||||
# set user rights on files
|
||||
[[ -d "${_BUILDDIR}" ]] && exit 1
|
||||
[[ -d "${_BUILDDIR}" ]] || exit 1
|
||||
chmod 755 "${_BUILDDIR}"
|
||||
chown -R "${_USER}" "${_BUILDDIR}"
|
||||
chgrp -R "${_GROUP}" "${_BUILDDIR}"
|
||||
cd "${_BUILDDIR}" || exit 1
|
||||
cd "${_BUILDDIR}"
|
||||
# remove sha256sum and install image
|
||||
rm sha256sum.txt
|
||||
# sign files and create new sha256sum.txt
|
||||
|
|
|
@ -37,7 +37,7 @@ cd "${_ISODIR}" || exit 1
|
|||
cp "${_PACMAN_MIRROR}".old "${_PACMAN_MIRROR}"
|
||||
cp "${_PACMAN_CONF}".old "${_PACMAN_CONF}"
|
||||
# set user rights on files
|
||||
[[ -d "${_BUILDDIR}" ]] && exit 1
|
||||
[[ -d "${_BUILDDIR}" ]] || exit 1
|
||||
chmod 755 "${_BUILDDIR}"
|
||||
chown -R "${_USER}" "${_BUILDDIR}"
|
||||
chgrp -R "${_GROUP}" "${_BUILDDIR}"
|
||||
|
|
Loading…
Reference in a new issue