提交 38102cce 编写于 作者: H huili

[NONE]

上级 854ee3df
......@@ -29,8 +29,8 @@ cfg_install_dir="/etc/taos"
install_main_dir="/usr/local/taos"
if [ -f ${cfg_install_dir}/taos.cfg ]; then
${csudo} rm -f ${install_main_dir}/cfg/taos.cfg || :
fi
fi
${csudo} dpkg -P tdengine || :
${csudo} rm -f /var/lib/dpkg/info/tdengine* || :
# there can not libtaos.so*, otherwise ln -s error
${csudo} rm -f ${install_main_dir}/driver/libtaos* || :
......@@ -99,8 +99,8 @@ if [ -f %{cfg_install_dir}/taos.cfg ]; then
${csudo} rm -f %{homepath}/cfg/taos.cfg || :
fi
${csudo} rpm -e tdengine || :
${csudo} rpm -e --noscripts tdengine || :
# there can not libtaos.so*, otherwise ln -s error
${csudo} rm -f %{homepath}/driver/libtaos* || :
#Scripts executed after installation
%post
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册