debian/rules
changeset 82 0fb820141076
parent 81 39b02aed056b
child 84 e54c345e0d4a
equal deleted inserted replaced
81:39b02aed056b 82:0fb820141076
    20 	@cd ${core}/usr/share/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 	# moving logs and data to var/
    25 	mv ${core}/usr/share/littlebird-tc/TrustCenter/data/logs ${core}/var/log/littlebird-tc 
    26 	mv ${core}/usr/share/littlebird-tc/TrustCenter/data/logs ${core}/var/log/littlebird-tc 
    26 	mv ${core}/usr/share/littlebird-tc/TrustCenter/data/* ${core}/var/lib/littlebird-tc/
    27 	mv ${core}/usr/share/littlebird-tc/TrustCenter/data/* ${core}/var/lib/littlebird-tc/
    27 	find ${core} ${common} ${sql} -type f -exec chmod a-x {} +
    28 
    28 	find ${core} ${common} ${sql} -type f \
    29 #	find ${core} ${common} ${sql} -type f -exec chmod a-x {} +
    29 		\( -name '*.sh' -o -path '*/scripts/*' \) \
    30 #	find ${core} ${common} ${sql} -type f \
    30 		-exec ${SHELL} -c 'file {} | grep -q executable' \; -exec chmod +x {} \;
    31 #		\( -name '*.sh' -o -path '*/scripts/*' \) \
       
    32 #		-exec ${SHELL} -c 'file {} | grep -q executable' \; -exec chmod +x {} \;
    31 
    33 
    32 override_dh_link:
    34 override_dh_link:
    33 	@dh_link
    35 	@dh_link
    34 	for dir in ${core}/var/lib/littlebird-tc/*; do \
    36 	for dir in ${core}/var/lib/littlebird-tc/*; do \
    35 	    dir=`basename $$dir`; \
    37 	    dir=`basename $$dir`; \