Skip to content

Commit

Permalink
Replace lool cache directory globally.
Browse files Browse the repository at this point in the history
	modified:   install-lool.sh
  • Loading branch information
RainerEmrich committed Mar 30, 2017
1 parent b0c6f56 commit 7093b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-lool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ elif [ "${LOOL_VERSION}" != "${LOOL_LAST}" ] ; then
chown root:lool ${LOOL_PREFIX}/etc/${LOOL_DISTRO}/*
chmod o-r ${LOOL_PREFIX}/etc/${LOOL_DISTRO}/*

sed --in-place "s#${LOOL_PREFIX}/var/cache/${BACKUP_LOOL_DISTRO}#${LOOL_PREFIX}/var/cache/${LOOL_DISTRO}#" ${LOOL_PREFIX}/etc/${LOOL_DISTRO}/loolwsd.xml
sed --in-place "s#${LOOL_PREFIX}/var/cache/${BACKUP_LOOL_DISTRO}#${LOOL_PREFIX}/var/cache/${LOOL_DISTRO}#g" ${LOOL_PREFIX}/etc/${LOOL_DISTRO}/loolwsd.xml
sed --in-place "s#\">${BACKUP_OFFICE_PATH}</lo_template_path>#\">${OFFICE_PATH}</lo_template_path>#" ${LOOL_PREFIX}/etc/${LOOL_DISTRO}/loolwsd.xml
sed --in-place "s#${LOOL_PREFIX}/etc/${BACKUP_LOOL_DISTRO}/cert.pem#${LOOL_PREFIX}/etc/${LOOL_DISTRO}/cert.pem#" ${LOOL_PREFIX}/etc/${LOOL_DISTRO}/loolwsd.xml
sed --in-place "s#${LOOL_PREFIX}/etc/${BACKUP_LOOL_DISTRO}/key.pem#${LOOL_PREFIX}/etc/${LOOL_DISTRO}/key.pem#" ${LOOL_PREFIX}/etc/${LOOL_DISTRO}/loolwsd.xml
Expand Down

0 comments on commit 7093b82

Please sign in to comment.