From 455c628c5973234cfd26a2249762fdda80ed0da9 Mon Sep 17 00:00:00 2001 From: Lionel <> Date: Wed, 19 Jul 2023 14:04:47 +0200 Subject: [PATCH] Libreoffice Dark theme included since Debian 12 --- .../hooks/live/libreoffice-dark.hook.chroot | 33 ------------------- .../4/user/registrymodifications.xcu | 5 +++ 2 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 config/hooks/live/libreoffice-dark.hook.chroot create mode 100644 config/includes.chroot/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu diff --git a/config/hooks/live/libreoffice-dark.hook.chroot b/config/hooks/live/libreoffice-dark.hook.chroot deleted file mode 100644 index 510df97..0000000 --- a/config/hooks/live/libreoffice-dark.hook.chroot +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -cd /tmp - -svn checkout https://github.com/rizmut/libreoffice-style-colibre/trunk/colibre_dark -cd colibre_dark - -# Colibre Dark -zip -r -D images_colibre_dark.zip * -mv "images_colibre_dark.zip" /usr/share/libreoffice/share/config - -cd .. -rm -rf colibre_dark - - -for dir in \ - /usr/lib64/libreoffice/share/config \ - /usr/lib/libreoffice/share/config \ - /usr/local/lib/libreoffice/share/config \ - /opt/libreoffice*/share/config; do - [ -d "$dir" ] || continue - sudo ln -sf "/usr/share/libreoffice/share/config/images_colibre_dark.zip" "$dir" -done - -mkdir -p /etc/skel/.config/libreoffice/4/user -cat > /etc/skel/.config/libreoffice/4/user/registrymodifications.xcu <<"EOF" - - - colibre_dark - - -EOF - diff --git a/config/includes.chroot/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu b/config/includes.chroot/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu new file mode 100644 index 0000000..9bc94fe --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu @@ -0,0 +1,5 @@ + + + colibre_dark + +