mirror of
https://github.com/AuxXxilium/arc-c.git
synced 2024-12-18 04:30:46 +07:00
addons: fix copy
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
6edaef90d2
commit
6169e66d76
@ -63,7 +63,7 @@ function installAddon() {
|
||||
[[ ${HAS_FILES} -ne 1 || ${ACTIVATE} = "false" ]] && return 1
|
||||
cp -f "${TMP_PATH}/${ADDON}/install.sh" "${RAMDISK_PATH}/addons/${ADDON}.sh" 2>"${LOG_FILE}" || dieLog
|
||||
chmod +x "${RAMDISK_PATH}/addons/${ADDON}.sh"
|
||||
[ -d ${TMP_PATH}/${ADDON}/root ] && (cp -rnf "${TMP_PATH}/${ADDON}/root/"* "${RAMDISK_PATH}/" 2>"${LOG_FILE}" || dieLog)
|
||||
[ -d ${TMP_PATH}/${ADDON}/root ] && (cp -rf "${TMP_PATH}/${ADDON}/root/"* "${RAMDISK_PATH}/" 2>"${LOG_FILE}" || dieLog)
|
||||
rm -rf "${TMP_PATH}/${ADDON:?}"
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user