equal
deleted
inserted
replaced
15 %: |
15 %: |
16 dh $@ |
16 dh $@ |
17 |
17 |
18 override_dh_install: |
18 override_dh_install: |
19 @dh_install |
19 @dh_install |
20 @cd ${core}/usr/lib/littlebird-tc/CA/certs \ |
20 @cd ${core}/usr/share/littlebird-tc/CA/certs \ |
21 && { \ |
21 && { \ |
22 test -f Trustcenter_CA_LB.pem || cp -av Test_Trustcenter_CA_LB.pem Trustcenter_CA_LB.pem; \ |
22 test -f Trustcenter_CA_LB.pem || cp -av Test_Trustcenter_CA_LB.pem Trustcenter_CA_LB.pem; \ |
23 test -f Trustcenter_CA.pem || cp -av Test_Trustcenter_CA.pem Trustcenter_CA.pem; \ |
23 test -f Trustcenter_CA.pem || cp -av Test_Trustcenter_CA.pem Trustcenter_CA.pem; \ |
24 } |
24 } |
25 mv ${core}/usr/lib/littlebird-tc/TrustCenter/data/logs ${core}/var/log/littlebird-tc |
25 mv ${core}/usr/share/littlebird-tc/TrustCenter/data/logs ${core}/var/log/littlebird-tc |
26 mv ${core}/usr/lib/littlebird-tc/TrustCenter/data/* ${core}/var/lib/littlebird-tc/ |
26 mv ${core}/usr/share/littlebird-tc/TrustCenter/data/* ${core}/var/lib/littlebird-tc/ |
27 find ${core} ${common} ${sql} -type f -exec chmod a-x {} + |
27 find ${core} ${common} ${sql} -type f -exec chmod a-x {} + |
28 find ${core} ${common} ${sql} -type f \ |
28 find ${core} ${common} ${sql} -type f \ |
29 \( -name '*.sh' -o -path '*/scripts/*' \) \ |
29 \( -name '*.sh' -o -path '*/scripts/*' \) \ |
30 -exec ${SHELL} -c 'file {} | grep -q executable' \; -exec chmod +x {} \; |
30 -exec ${SHELL} -c 'file {} | grep -q executable' \; -exec chmod +x {} \; |
31 |
31 |
32 override_dh_link: |
32 override_dh_link: |
33 @dh_link |
33 @dh_link |
34 for dir in ${core}/var/lib/littlebird-tc/*; do \ |
34 for dir in ${core}/var/lib/littlebird-tc/*; do \ |
35 dir=`basename $$dir`; \ |
35 dir=`basename $$dir`; \ |
36 dh_link --package littlebird-tc-core /var/lib/littlebird-tc/$$dir /usr/lib/littlebird-tc/TrustCenter/data/$$dir ;\ |
36 dh_link --package littlebird-tc-core /var/lib/littlebird-tc/$$dir /usr/share/littlebird-tc/TrustCenter/data/$$dir ;\ |
37 done |
37 done |
38 |
38 |
39 |
39 |
40 |
40 |
41 |
41 |