[NONE]
This commit is contained in:
parent
854ee3df4c
commit
38102ccec3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue