patch mail
This commit is contained in:
@@ -18,6 +18,12 @@ let
|
|||||||
pillow
|
pillow
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace custom_components/mail_and_packages/const.py \
|
||||||
|
--replace 'DEFAULT_PATH = "/var/lib/homeassistant/images/"' 'DEFAULT_PATH = "/var/lib/homeassistant/images/"'
|
||||||
|
--replace 'DEFAULT_CUSTOM_IMG_FILE = "/var/lib/homeassistant/mail_none.gif"' 'DEFAULT_CUSTOM_IMG_FILE = "/var/lib/homeassistant/mail_none.gif"'
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
changelog = "https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/releases/tag/${version}";
|
changelog = "https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/releases/tag/${version}";
|
||||||
description = "The Mail and Packages integration creates sensors for supported shippers to show a snapshot of mail and packages that are scheduled to be delivered the current day.";
|
description = "The Mail and Packages integration creates sensors for supported shippers to show a snapshot of mail and packages that are scheduled to be delivered the current day.";
|
||||||
|
|||||||
Reference in New Issue
Block a user