Added restore-cockpit-custom-bg.hook

This commit is contained in:
Brainwrecked Tech 2022-02-02 16:38:29 -05:00
parent f452f712ed
commit b9a426b043

View File

@ -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