1
0

fix: deb更新脚本注释为英文

This commit is contained in:
TsMask
2025-04-19 16:47:37 +08:00
parent 7cac1e1249
commit 04a5f9052e
4 changed files with 10 additions and 11 deletions

View File

@@ -1,11 +1,11 @@
# !/bin/bash
# 卸载后执行脚本
# Execute the script after uninstallation
case "$1" in
remove)
# 卸载操作
# Uninstallation operations
# 删除服务文件
# Deletion of service files
systemctl daemon-reload
systemctl disable omc.service
systemctl disable sshsvc.service
@@ -13,11 +13,11 @@ case "$1" in
rm -rf /lib/systemd/system/sshsvc.service
systemctl daemon-reload
# 移除相关文件
# Removal of relevant documents
rm -rf /usr/local/bin/omc
rm -rf /usr/local/etc/omc
;;
upgrade)
# 更新操作
# Update Operation
;;
esac