Add and use update_addon instead to rely on installed cuxd.
This commit is contained in:
parent
39c78b670d
commit
d853357db9
|
@ -4,7 +4,7 @@ version=$(cat VERSION)
|
|||
addon_file="$(pwd)/rmupdate.tar.gz"
|
||||
tmp_dir=$(mktemp -d)
|
||||
|
||||
for f in VERSION update_script addon ccu1 ccu2 ccurm rmupdate; do
|
||||
for f in VERSION update_script update_addon addon ccu1 ccu2 ccurm rmupdate; do
|
||||
[ -e $f ] && cp -a $f "${tmp_dir}/"
|
||||
done
|
||||
chmod 755 "${tmp_dir}/update_script"
|
||||
|
|
BIN
rmupdate.tar.gz
BIN
rmupdate.tar.gz
Binary file not shown.
Binary file not shown.
|
@ -57,7 +57,7 @@ fi
|
|||
|
||||
echo "add menu entry" >>$LOG_FILE
|
||||
touch "${CONFIG_DIR}/hm_addons.cfg"
|
||||
"/usr/local/addons/cuxd/update_addon" ${ADDON_NAME} "${ADDON_DIR}/etc/${ADDON_NAME}-addon.cfg"
|
||||
./update_addon ${ADDON_NAME} "${ADDON_DIR}/etc/${ADDON_NAME}-addon.cfg"
|
||||
|
||||
sync
|
||||
|
||||
|
|
Loading…
Reference in New Issue