[NONE]
This commit is contained in:
parent
854ee3df4c
commit
38102ccec3
|
@ -31,6 +31,6 @@ if [ -f ${cfg_install_dir}/taos.cfg ]; then
|
||||||
${csudo} rm -f ${install_main_dir}/cfg/taos.cfg || :
|
${csudo} rm -f ${install_main_dir}/cfg/taos.cfg || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${csudo} dpkg -P tdengine || :
|
# there can not libtaos.so*, otherwise ln -s error
|
||||||
${csudo} rm -f /var/lib/dpkg/info/tdengine* || :
|
${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 || :
|
${csudo} rm -f %{homepath}/cfg/taos.cfg || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${csudo} rpm -e tdengine || :
|
# there can not libtaos.so*, otherwise ln -s error
|
||||||
${csudo} rpm -e --noscripts tdengine || :
|
${csudo} rm -f %{homepath}/driver/libtaos* || :
|
||||||
|
|
||||||
#Scripts executed after installation
|
#Scripts executed after installation
|
||||||
%post
|
%post
|
||||||
|
|
Loading…
Reference in New Issue