Commit c573001
committed
fix: set DSG_DATA_DIRS for linglong compatibility
Added DSG_DATA_DIRS environment variable setting in both dde-dconfig-
editor and dde-dconfig main functions
The variable is set to include both standard path (/usr/share/dsg) and
linglong container path (/var/lib/linglong/entries/share/dsg)
This ensures dconfig applications can access configuration files in both
standard and linglong environments
Maintains compatibility with dde-dconfig-daemon which already uses this
environment variable
fix: 为玲珑兼容性设置 DSG_DATA_DIRS 环境变量
在 dde-dconfig-editor 和 dde-dconfig 的主函数中添加了 DSG_DATA_DIRS 环境
变量设置
该变量包含标准路径 (/usr/share/dsg) 和玲珑容器路径 (/var/lib/linglong/
entries/share/dsg)
确保配置应用程序能够在标准环境和玲珑环境中访问配置文件
与已使用此环境变量的 dde-dconfig-daemon 保持兼容性1 parent 86a6d66 commit c573001
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
375 | 377 | | |
376 | 378 | | |
377 | 379 | | |
| |||
0 commit comments