mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 16:44:23 +08:00
🎁 Sync 2026-03-23 17:00:57
This commit is contained in:
1 parent
42786ced0b
commit
190ca87b14
42 files changed
+244
-2159
No files matched your search
@@ -16,8 +16,8 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-amlogic
|
||||
PKG_VERSION:=3.1.286
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=3.1.287
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_LICENSE:=GPL-2.0 License
|
||||
PKG_MAINTAINER:=ophub <https://github.com/ophub/luci-app-amlogic>
|
||||
|
||||
@@ -159,6 +159,16 @@ else
|
||||
[[ "${?}" -ne "0" ]] && tolog "02.05 Language pack [ ${langfile} ] download failed." "1"
|
||||
done
|
||||
|
||||
# The .apk filename is preceded by a tilde (~) instead of a dot (.).
|
||||
for file in ${TMP_CHECK_DIR}/*.apk; do
|
||||
[[ -f "${file}" ]] || continue
|
||||
base_name="$(basename "${file}")"
|
||||
new_name="$(echo "${base_name}" | sed -E 's/\.([a-f0-9]{7}\.apk)/~\1/')"
|
||||
if [[ "${base_name}" != "${new_name}" ]]; then
|
||||
mv -f "${file}" "${TMP_CHECK_DIR}/${new_name}" || true
|
||||
fi
|
||||
done
|
||||
|
||||
sync && sleep 2
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user