From b9a426b04328c318db5470389c17b574f7713f2e Mon Sep 17 00:00:00 2001 From: bwt Date: Wed, 2 Feb 2022 16:38:29 -0500 Subject: [PATCH] Added restore-cockpit-custom-bg.hook --- restore-cockpit-custom-bg.hook | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 restore-cockpit-custom-bg.hook diff --git a/restore-cockpit-custom-bg.hook b/restore-cockpit-custom-bg.hook new file mode 100644 index 0000000..0aeb21c --- /dev/null +++ b/restore-cockpit-custom-bg.hook @@ -0,0 +1,10 @@ +[Trigger] +Type=Package +Operation=Install +Operation=Upgrade +Target=cockpit + +[Action] +Description=Restoring custom background... +When=PostTransaction +Exec=/usr/bin/cp -v /usr/share/cockpit/branding/default/bg-custom.jpg /usr/share/cockpit/branding/default/bg-plain.jpg