mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
buildsystem: build/unpack - simplify some logic
This commit is contained in:
+4
-2
@@ -36,8 +36,10 @@ PARENT_PKG="${2:-${PKG_NAME}:${TARGET}}"
|
||||
pkg_lock "${PKG_NAME}:${TARGET}" "install" "${PARENT_PKG}"
|
||||
|
||||
STAMP=${STAMPS_INSTALL}/${PKG_NAME}/install_${TARGET}
|
||||
[ -f ${STAMP} ] && pkg_lock_status "UNLOCK" "${PKG_NAME}:${TARGET}" "install" "already installed"
|
||||
[ -f ${STAMP} ] && exit 0
|
||||
if [ -f ${STAMP} ]; then
|
||||
pkg_lock_status "UNLOCK" "${PKG_NAME}:${TARGET}" "install" "already installed"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p ${STAMPS_INSTALL}/${PKG_NAME}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user