diff --git a/pack_addon.sh b/pack_addon.sh index 14aca8d..0f72c67 100755 --- a/pack_addon.sh +++ b/pack_addon.sh @@ -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" diff --git a/rmupdate.tar.gz b/rmupdate.tar.gz deleted file mode 100644 index 2a5c649..0000000 Binary files a/rmupdate.tar.gz and /dev/null differ diff --git a/update_addon b/update_addon new file mode 100755 index 0000000..8764bbc Binary files /dev/null and b/update_addon differ diff --git a/update_script b/update_script index 375b95f..a2ad313 100755 --- a/update_script +++ b/update_script @@ -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