rename variable, add shellcheck directive
This commit is contained in:
parent
5e2f1f2656
commit
bebe6ea540
2 changed files with 4 additions and 3 deletions
|
|
@ -40,14 +40,15 @@ fi
|
|||
|
||||
# TODO use $XDG_CONFIG_HOME
|
||||
if [ -f "$_config_file" ] ; then
|
||||
# shellcheck source=notify-updates.config
|
||||
. "$_config_file"
|
||||
else
|
||||
echo "notify-updates: warning - config file not found: $_config_file"
|
||||
fi
|
||||
|
||||
if [ "$notifynone" = "true" ] ; then
|
||||
if [ "$notify_if_none" = "true" ] ; then
|
||||
_notify_none=1
|
||||
elif [ "$notifynone" = "false" ] ; then
|
||||
elif [ "$notify_if_none" = "false" ] ; then
|
||||
_notify_none=0
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue