Эх сурвалжийг харах

Z991239-5361 #comment 新增清理文件

80374374 1 жил өмнө
parent
commit
2f82b19838

+ 8 - 3
addin/packaging/UOS/installsh.in

@@ -191,7 +191,9 @@ if [ $installType -eq 4 ]; then
     echo [INFO]恢复桌面组件应用程序的执行权限
     sudo chmod +x /usr/bin/dde-desktop
     sudo chmod +x /usr/bin/dde-dock
-
+    sudo chmod +x /usr/bin/dde-launcher
+    sudo chmod +x /usr/bin/dde-file-manager
+	
     echo -e "\033[42;37m [INFO]: === 所有安装步骤执行成功,正常退出=== \033[0m"
 	exit 0
 fi
@@ -341,8 +343,10 @@ if [ $res -eq 0 ]; then
 
     if [ $installType -eq 1 ]; then
         echo [INFO]去除桌面组件应用程序的执行权限,实现开机黑屏
-        sudo chmod -x /usr/bin/dde-desktop
-        sudo chmod -x /usr/bin/dde-dock
+	sudo chmod -x /usr/bin/dde-desktop
+	sudo chmod -x /usr/bin/dde-dock
+	sudo chmod -x /usr/bin/dde-launcher
+	sudo chmod -x /usr/bin/dde-file-manager
     fi
 else
     echo -e "\033[41;37m [ERROR]: 设置SUDO权限失败!! \033[0m"
@@ -364,6 +368,7 @@ echo "[INFO]: set menu tool as hidden mode done!"
 browserDownURLDEV="http://99.12.23.78/uos/uosbrowser_5.3.52-1.zip"
 broswerDownPRD="http://ecsnp01.s3ecs.itcenter.cmbchina.cn:9020/lr18.24-upgrade-pack-prd/uosbrowser_5.3.52-1_22061501_02/origin/uosbrowser_5.3.52-1_22061501.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240508T120010Z&X-Amz-SignedHeaders=host&X-Amz-Expires=604800&X-Amz-Credential=lr18.24-upgrade-prd%2F20240508%2Fcn-north-1%2Fs3%2Faws4_request&X-Amz-Signature=67950161ab9de5d35b7556a6fe4e8d102b1269cc72c22784f009d36d654d4413"
 browserDownURL=${browserDownURLDEV}
+#测试环境才生效,生产环境无法确认下载链接地址
 if [ $installType -eq 0 ]; then
 	echo ${browserDownURL}
 	if [ "`dpkg -l | grep org.deepin.browser | awk '{print $3}'`" == "" ]; then

+ 7 - 3
addin/packaging/UOS/original.sh

@@ -203,7 +203,9 @@ if [ $installType -eq 4 ]; then
     echo [INFO]恢复桌面组件应用程序的执行权限
     sudo chmod +x /usr/bin/dde-desktop
     sudo chmod +x /usr/bin/dde-dock
-
+    sudo chmod +x /usr/bin/dde-launcher
+    sudo chmod +x /usr/bin/dde-file-manager
+	
     echo -e "\033[42;37m [INFO]: === 所有安装步骤执行成功,正常退出=== \033[0m"
 	exit 0
 fi
@@ -353,8 +355,10 @@ if [ $res -eq 0 ]; then
 
     if [ $installType -eq 1 ]; then
         echo [INFO]去除桌面组件应用程序的执行权限,实现开机黑屏
-        sudo chmod -x /usr/bin/dde-desktop
-        sudo chmod -x /usr/bin/dde-dock
+	sudo chmod -x /usr/bin/dde-desktop
+	sudo chmod -x /usr/bin/dde-dock
+	sudo chmod -x /usr/bin/dde-launcher
+	sudo chmod -x /usr/bin/dde-file-manager
     fi
 else
     echo -e "\033[41;37m [ERROR]: 设置SUDO权限失败!! \033[0m"