Commit Graph

6 Commits

Author SHA1 Message Date
chenlinxuan de81beb35c fix: fix profile script error
/etc/os-release can be anything, might not have "VERSION_ID" in it.
  So after sed, $VERSION can be empty string, or even a string with
  space inside.

  We should always quote variable when we using it.

Change-Id: I14046270ef446c9f878c66336150735c44038dd0
2022-08-11 11:13:07 +08:00
chenlinxuan da037d2b5f fix: Clean up env setup script
* Fix a error when $VERSION is empty;
  * Remove no effect code.

Change-Id: I435332cb0b646677bf6cdf71c64b1bc4fce20405
2022-08-01 20:36:23 +08:00
liujianqiang 9fe88b97f6 fix: 优化脚本版本比较
去掉bc依赖,优化版本比较。

Log:
Change-Id: I68486d77f98498f0f572ad4c8b7d0e7310c17b23
2022-06-13 21:48:52 +08:00
liujianqiang 0583b59e83 fix: 优化版本比较
优化系统版本比较,社区版存在小数情况。

Log:
Change-Id: I1f639f5fd29f8881d5e2cacfa8f96bdcae1eb802
2022-06-08 16:29:55 +08:00
liujianqiang 6bab478cb2 fix: 调整玲珑安装路径
调整玲珑安装路径,不同系统版本安装的位置不同。

Log:
Bug: https://pms.uniontech.com/bug-view-126683.html
Change-Id: Id65c11a381628d8f4a615a44183901072f084a2c
2022-05-12 08:50:50 +08:00
liujianqiang e4a2260d93 fix: 设置环境变量XDG_DATA_DIRS
设置环境XDG_DATA_DIRS,用于导出应用配置

Log:
Change-Id: Ie1a2b3070d3a3432b07f66ef41bb47cfcc8f0a7e
2021-12-01 21:08:40 +08:00