mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Check the correct path when installing the package
This commit is contained in:
parent
48bc542097
commit
a94e44f048
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
|||
#%define _datadir %{_datarootdir}
|
||||
#%define _docdir %{_datadir}/doc
|
||||
|
||||
%define build_number 67
|
||||
%define build_number 68
|
||||
%define var_dir /var/opt/belledonne-communications
|
||||
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ cp -R conf/* "$RPM_BUILD_ROOT/etc/flexisip-account-manager/"
|
|||
%endif
|
||||
|
||||
# Create the var directory if it doesn't exists
|
||||
if [ ! -d "%{var_dir}" ]; then
|
||||
if [ ! -d "%{var_dir}/flexiapi" ]; then
|
||||
# FlexiAPI logs file
|
||||
mkdir -p %{var_dir}/log/flexiapi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue