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