From c10c07701a57d5e13fb47312615a946d51fc3b3b Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Sun, 12 Dec 2010 20:54:39 +0100 Subject: fix broffice branding packages (fdo#32229) - rename the packages from broffice.org to broffice - add /opt/broffice compat symlink --- sysui/desktop/share/create_tree.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysui/desktop/share/create_tree.sh') diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh index 60aff1738d5d..f8a2712d5b9a 100644 --- a/sysui/desktop/share/create_tree.sh +++ b/sysui/desktop/share/create_tree.sh @@ -92,13 +92,17 @@ fi mkdir -p ${DESTDIR}/usr/bin -office_root=/opt/${PREFIX} +office_prefix=/opt +office_root=${office_prefix}/${PREFIX} cp openoffice.sh ${DESTDIR}/usr/bin/${PREFIX} cp printeradmin.sh ${DESTDIR}/usr/bin/${PREFIX}-printeradmin chmod 0755 ${DESTDIR}/usr/bin/${PREFIX} ${DESTDIR}/usr/bin/${PREFIX}-printeradmin if test "${PREFIX}" != libreoffice ; then + # compat symlinks + mkdir -p ${DESTDIR}${office_prefix} + ln -sf libreoffice ${DESTDIR}${office_root} ln -sf /usr/bin/${PREFIX} ${DESTDIR}/usr/bin/libreoffice ln -sf /usr/bin/${PREFIX}-printeradmin ${DESTDIR}/usr/bin/libreoffice-printeradmin fi -- cgit