File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,6 @@ local_install: local_patches
50
50
mkdir -p ${DESTDIR}${SYSCONFDIR} /plugins/plugins-enabled
51
51
mkdir -p ${DESTDIR}${SYSCONFDIR} /ssi
52
52
cp -p thruk.conf ${DESTDIR}${SYSCONFDIR} /thruk.conf
53
- mkdir -p ${DESTDIR}${SYSCONFDIR} /usercontent/images
54
- rm -rf ${DESTDIR}${DATADIR} /root/thruk/usercontent
55
- ln -fs ${SYSCONFDIR} /usercontent ${DESTDIR}${DATADIR} /root/thruk/usercontent
56
- cp root/thruk/usercontent/images/* ${DESTDIR}${DATADIR} /root/thruk/usercontent/images/
57
53
echo " do '${DATADIR} /menu.conf';" > ${DESTDIR}${SYSCONFDIR} /menu_local.conf
58
54
cp -p support/thruk_local.conf.example ${DESTDIR}${SYSCONFDIR} /thruk_local.conf
59
55
cp -p cgi.cfg ${DESTDIR}${SYSCONFDIR} /cgi.cfg
@@ -75,6 +71,10 @@ local_install: local_patches
75
71
mkdir -p ${DESTDIR}${DATADIR} /script
76
72
cp -rp lib root templates ${DESTDIR}${DATADIR} /
77
73
rm -f ${DESTDIR}${DATADIR} /root/thruk/themes
74
+ mkdir -p ${DESTDIR}${SYSCONFDIR} /usercontent/
75
+ rm -rf ${DESTDIR}${DATADIR} /root/thruk/usercontent
76
+ ln -fs ${SYSCONFDIR} /usercontent ${DESTDIR}${DATADIR} /root/thruk/
77
+ cp -rp root/thruk/usercontent/* ${DESTDIR}${SYSCONFDIR} /usercontent/
78
78
cp -rp support/fcgid_env.sh ${DESTDIR}${DATADIR} /
79
79
chmod 755 ${DESTDIR}${DATADIR} /fcgid_env.sh
80
80
cp -rp menu.conf ${DESTDIR}${DATADIR} /
Original file line number Diff line number Diff line change @@ -203,6 +203,7 @@ exit 0
203
203
%config(noreplace) %{_sysconfdir}/thruk/plugins
204
204
%config(noreplace) %{_sysconfdir}/thruk/themes
205
205
%config(noreplace) %{_sysconfdir}/thruk/menu_local.conf
206
+ %config(noreplace) %{_sysconfdir}/thruk/usercontent/
206
207
%attr(0755,root,root) %{_datadir}/thruk/thruk_auth
207
208
%attr(0755,root,root) %{_datadir}/thruk/script/thruk_fastcgi.pl
208
209
%attr(0755,root,root) %{_datadir}/thruk/script/wkhtmltopdf
You can’t perform that action at this time.
0 commit comments