Skip to content
Snippets Groups Projects
Commit 540ad2fb authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

rpm build fix.

parent bcfb6300
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,7 @@ useradd -r -g tarantool tarantool > /dev/null 2>&1 ...@@ -153,7 +153,7 @@ useradd -r -g tarantool tarantool > /dev/null 2>&1
"%{_bindir}/tarantool_deploy.sh" "%{_bindir}/tarantool_deploy.sh"
"/etc/init.d/tarantool" "/etc/init.d/tarantool"
%dir "%{_sysconfdir}/tarantool" # %dir "%{_sysconfdir}/tarantool"
%files sql-module %files sql-module
%defattr(-,root,root,-) %defattr(-,root,root,-)
......
...@@ -181,8 +181,8 @@ deploy_exists=0 ...@@ -181,8 +181,8 @@ deploy_exists=0
# do migration from old deployment (if necessary) # do migration from old deployment (if necessary)
if [ $deploy_exists -eq 0 ]; then if [ $deploy_exists -eq 0 ]; then
deploy_cfg_old="/usr/local/etc/tarantool_deploy.cfg" deploy_cfg_old="/usr/local/etc/tarantool_deploy.cfg"
mkdir -p /etc/tarantool
if [ -f $deploy_cfg_old ]; then if [ -f $deploy_cfg_old ]; then
mkdir -p /etc/tarantool
cp /usr/local/etc/tarantool* "${prefix_etc}/tarantool/" cp /usr/local/etc/tarantool* "${prefix_etc}/tarantool/"
deploy_exists=1 deploy_exists=1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment