|
2 | 2 | # https://github.com/rmshadows/rm_scripts |
3 | 3 |
|
4 | 4 | :<<!说明 |
5 | | -Version:0.0.3 |
| 5 | +Version:0.0.4 |
6 | 6 | 预设参数(在这里修改预设参数, 谢谢) |
7 | 7 | 注意:如果没有注释,默认0 为否 1 为是。 |
8 | 8 | if [ "$" -eq 1 ];then |
@@ -2098,20 +2098,6 @@ if [ "$SET_INSTALL_TEAMVIEWER" -eq 1 ];then |
2098 | 2098 | fi |
2099 | 2099 | fi |
2100 | 2100 |
|
2101 | | -# 安装wps-office |
2102 | | -if [ "$SET_INSTALL_WPS_OFFICE" -eq 1 ];then |
2103 | | - if ! [ -x "$(command -v wps)" ]; then |
2104 | | - prompt -x "安装wps-office" |
2105 | | - # wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/9615/wps-office_11.1.0.9615_amd64.deb |
2106 | | - # 较稳定版本 |
2107 | | - # wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/10161/wps-office_11.1.0.10161_amd64.deb |
2108 | | - wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/10702/wps-office_11.1.0.10702_amd64.deb |
2109 | | - doApt install ./wps-office*amd64.deb |
2110 | | - else |
2111 | | - prompt -m "您可能已经安装了WPS" |
2112 | | - fi |
2113 | | -fi |
2114 | | -
|
2115 | 2101 | # 安装skype |
2116 | 2102 | if [ "$SET_INSTALL_SKYPE" -eq 1 ];then |
2117 | 2103 | if ! [ -x "$(command -v skypeforlinux)" ]; then |
@@ -2160,6 +2146,20 @@ if [ "$SET_INSTALL_TEAMVIEWER" -eq 1 ];then |
2160 | 2146 | fi |
2161 | 2147 | fi |
2162 | 2148 |
|
| 2149 | +# 安装wps-office |
| 2150 | +if [ "$SET_INSTALL_WPS_OFFICE" -eq 1 ];then |
| 2151 | + if ! [ -x "$(command -v wps)" ]; then |
| 2152 | + prompt -x "安装wps-office" |
| 2153 | + # wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/9615/wps-office_11.1.0.9615_amd64.deb |
| 2154 | + # 较稳定版本 |
| 2155 | + # wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/10161/wps-office_11.1.0.10161_amd64.deb |
| 2156 | + wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/10702/wps-office_11.1.0.10702_amd64.deb |
| 2157 | + doApt install ./wps-office*amd64.deb |
| 2158 | + else |
| 2159 | + prompt -m "您可能已经安装了WPS" |
| 2160 | + fi |
| 2161 | +fi |
| 2162 | +
|
2163 | 2163 | # 安装网易云音乐 |
2164 | 2164 | if [ "$SET_INSTALL_NETEASE_CLOUD_MUSIC" -eq 1 ];then |
2165 | 2165 | if ! [ -x "$(command -v netease-cloud-music)" ]; then |
|
0 commit comments