Commit 259fda7
committed
refactor: remove trigger handler script and simplify reload logic
1. Removed INSTALL_DEBIAN_TRIGGER CMake option and associated trigger
handler script
2. Simplified post-install trigger handling by directly calling D-Bus
reload interface
3. Eliminated intermediate script layer for more direct and reliable
configuration reloads
4. Updated Debian packaging rules to reflect these changes
The changes were made to:
- Reduce maintenance overhead by removing an unnecessary script layer
- Improve reliability by directly interacting with D-Bus service
- Simplify the configuration reload process
- Remove unused build configuration option
refactor: 移除触发器处理脚本并简化重载逻辑
1. 移除了INSTALL_DEBIAN_TRIGGER CMake选项及相关触发器处理脚本
2. 简化了安装后触发器处理,直接调用D-Bus重载接口
3. 消除了中间脚本层,使配置重载更直接可靠
4. 更新了Debian打包规则以反映这些变更
这些变更是为了:
- 通过移除不必要的脚本层减少维护开销
- 通过直接与D-Bus服务交互提高可靠性
- 简化配置重载流程
- 移除未使用的构建配置选项1 parent b0e37fa commit 259fda7
5 files changed
Lines changed: 12 additions & 61 deletions
File tree
- dconfig-center/dde-dconfig-daemon
- scripts
- debian
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
Lines changed: 0 additions & 48 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments