Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
f2958818
Unverified
Commit
f2958818
authored
Oct 03, 2021
by
neil
Committed by
GitHub
Oct 03, 2021
Browse files
Update pushbullet.sh
parent
20f60494
Changes
1
Hide whitespace changes
Inline
Side-by-side
notify/pushbullet.sh
View file @
f2958818
...
@@ -20,7 +20,7 @@ pushbullet_send() {
...
@@ -20,7 +20,7 @@ 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
_clearaccountconf_mutable PUSHBULLET_DEVICE
else
else
_saveaccountconf_mutable PUSHBULLET_DEVICE
"
$PUSHBULLET_DEVICE
"
_saveaccountconf_mutable PUSHBULLET_DEVICE
"
$PUSHBULLET_DEVICE
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment