Browse Source

Update pushbullet.sh

pull/3599/head
neil 3 years ago
committed by GitHub
parent
commit
20f604948f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      notify/pushbullet.sh

4
notify/pushbullet.sh

@ -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…
Cancel
Save