mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
fix: 将缓存目录从/rom/cache移动到/packages/cache并确保目录存在
确保缓存目录与其它包相关文件位于同一位置,提高文件组织的一致性。同时在安装过程中检查并创建缓存目录。
This commit is contained in:
@@ -28,7 +28,7 @@ local pkg_config = {
|
||||
repo_url = "https://example.com/leonos/packages", -- 包仓库URL
|
||||
local_pkg_dir = "/packages", -- 本地包存储目录
|
||||
installed_db = "/packages/installed.json", -- 已安装包数据库
|
||||
cache_dir = "/rom/cache" -- 缓存目录
|
||||
cache_dir = "/packages/cache" -- 缓存目录
|
||||
}
|
||||
|
||||
-- 确保必要的目录存在
|
||||
|
||||
Reference in New Issue
Block a user