[packages/glpi] Make symlink relative.
arekm
arekm at pld-linux.org
Thu Apr 2 00:50:13 CEST 2026
commit 2235a3163151fbb21578a04834389b97dcb94120
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Apr 2 00:45:57 2026 +0200
Make symlink relative.
glpi.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glpi.spec b/glpi.spec
index 9484ad2..527ef60 100644
--- a/glpi.spec
+++ b/glpi.spec
@@ -161,7 +161,7 @@ cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_appdir}/inc/downstream.php
# symlink local_define.php into app config dir where GLPI hardcodes the load path
# (SystemConfigurator loads root_dir/config/local_define.php before downstream.php)
-ln -s %{_sysconfdir}/local_define.php $RPM_BUILD_ROOT%{_appdir}/config/local_define.php
+ln -s ../../../..%{_sysconfdir}/local_define.php $RPM_BUILD_ROOT%{_appdir}/config/local_define.php
# install config files
cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/local_define.php
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glpi.git/commitdiff/2235a3163151fbb21578a04834389b97dcb94120
More information about the pld-cvs-commit
mailing list