mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Adding local install addons
This commit is contained in:
parent
41612dc08a
commit
fe7d707d7f
@ -1,5 +1,5 @@
|
||||
|
||||
ARPL_VERSION="0.3-alpha7"
|
||||
ARPL_VERSION="0.3-alpha8"
|
||||
|
||||
# Define paths
|
||||
TMP_PATH="/tmp"
|
||||
|
@ -161,3 +161,13 @@ echo
|
||||
mkdir -p "${ADDONS_PATH}"
|
||||
mkdir -p "${LKM_PATH}"
|
||||
mkdir -p "${MODULES_PATH}"
|
||||
|
||||
# Detect if has new local plugins to install/reinstall
|
||||
for F in `ls ${CACHE_PATH}/*.addon`; do
|
||||
ADDON=`basename "${F}" | sed 's|.addon||'`
|
||||
rm -rf "${ADDONS_PATH}/${ADDON}"
|
||||
mkdir -p "${ADDONS_PATH}/${ADDON}"
|
||||
echo "Installing ${F} to ${ADDONS_PATH}/${ADDON}"
|
||||
tar xaf "${F}" -C "${ADDONS_PATH}/${ADDON}"
|
||||
rm -f "${F}"
|
||||
done
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user