fix: deb更新脚本注释为英文
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# !/bin/bash
|
||||
# 安装后执行脚本
|
||||
# Execute the script after installation
|
||||
RootDir=/usr/local/etc/omc
|
||||
|
||||
# Perform post-installation configuration
|
||||
@@ -50,5 +50,4 @@ else
|
||||
systemctl start omc.service
|
||||
systemctl start sshsvc.service
|
||||
fi
|
||||
|
||||
rm -rf $RootDir/vendor
|
||||
echo ""
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# !/bin/bash
|
||||
# 安装前执行脚本
|
||||
# Execute the script before installation
|
||||
|
||||
rm -rf /usr/local/etc/omc/default
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# !/bin/bash
|
||||
# 卸载前执行脚本
|
||||
# Execute the script before uninstalling
|
||||
|
||||
# 停止服务
|
||||
# Stop Service
|
||||
systemctl daemon-reload
|
||||
systemctl stop omc.service
|
||||
systemctl stop sshsvc.service
|
||||
|
||||
Reference in New Issue
Block a user