mirror of https://github.com/linuxdeepin/linglong
1. Removed debug logging code that was checking for script readability 2. Changed from direct export to echo output for systemd environment handling 3. Simplified the logic by removing redundant checks since systemd generators expect echo output 4. The change aligns better with systemd's environment generator expectations where variables should be echoed rather than exported directly refactor: 简化 systemd 生成器中的环境变量处理 1. 移除了检查脚本可读性的调试日志代码 2. 将直接导出改为 echo 输出以适配 systemd 环境处理 3. 通过移除冗余检查简化了逻辑,因为 systemd 生成器期望 echo 输出 4. 此变更更符合 systemd 环境生成器的预期,变量应该通过 echo 输出而非直接 导出 |
||
|---|---|---|
| .. | ||
| image | ||
| lib | ||
| libexec/linglong | ||
| script | ||
| share | ||
| CMakeLists.txt | ||