mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 05:01:40 +00:00
Update pushbullet.sh
This commit is contained in:
parent
4a8511f680
commit
20f604948f
@ -20,7 +20,9 @@ pushbullet_send() {
|
|||||||
_saveaccountconf_mutable PUSHBULLET_TOKEN "$PUSHBULLET_TOKEN"
|
_saveaccountconf_mutable PUSHBULLET_TOKEN "$PUSHBULLET_TOKEN"
|
||||||
|
|
||||||
PUSHBULLET_DEVICE="${PUSHBULLET_DEVICE:-$(_readaccountconf_mutable PUSHBULLET_DEVICE)}"
|
PUSHBULLET_DEVICE="${PUSHBULLET_DEVICE:-$(_readaccountconf_mutable PUSHBULLET_DEVICE)}"
|
||||||
if [ -z "$PUSHBULLET_DEVICE" ]; then
|
if [ -z "$PUSHBULLET_DEVICE" ]; then
|
||||||
|
_clearaccountconf_mutable PUSHBULLET_DEVICE
|
||||||
|
else
|
||||||
_saveaccountconf_mutable PUSHBULLET_DEVICE "$PUSHBULLET_DEVICE"
|
_saveaccountconf_mutable PUSHBULLET_DEVICE "$PUSHBULLET_DEVICE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user