Skip to content

Commit

Permalink
[eos-update-notifier] check for yad existence
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-192 committed Aug 1, 2024
1 parent 01640e0 commit e58ff77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions eos-update-notifier/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=eos-update-notifier
pkgdesc="Software update notifier and 'news for you' for EndeavourOS users."
pkgver=24.7
pkgver=24.7.1
pkgrel=1
arch=('any')
license=('GPL')
Expand Down Expand Up @@ -34,7 +34,7 @@ source=(
$_url/$pkgname.service
$_url/checkupdatesext
)
sha512sums=('714bc84ca42d71e0832c114e95e5b6ee758f8a132e07ff985520de38c86b36ad306488cee6e6fca9ce7e716a52a558c22148e6e88e76201e34aaa7d87e16cf67'
sha512sums=('29d6492f816aa94c62bb8e6379ca4b948c4503e12d329f13b368aaf76a20ba61b76b8913b659b311e7259ee1405684b46754c9596d4aca04ed3d8fa8b9567d2a'
'8873c225c650f272221e8057b28bb6bd917e6da1e97baa79eafe42e8f1e7efb485dc094d66cba55fe4cc7421a556048e0ae171371766d36d7dfe8add79ac6e3d'
'0bdcd09c69e1fb9d7e28a9155e90c6c632c506d619685b8a8a417dd737d240a96cce77b3231a4644e9f79de9e7b3a0048d299476ad0c78076528c5389641af31'
'76c99cf430236325e12f7633d85bc3a1055dc2c5d23619c494cf98c447b7beb5da7d71870cef68f1caa39db713e22221f8fdd75b05bdda5adc90fa29136b7445'
Expand Down
6 changes: 4 additions & 2 deletions eos-update-notifier/eos-update-notifier
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,10 @@ Main()
return 0
fi

AssignIconVariables_in_eos_bash_shared # get common icons

yad_missing_check $progname

local dev_log=no
local dev_logfile=/tmp/$progname.dev_log
local configdir="$HOME/.config/systemd/user"
Expand Down Expand Up @@ -672,8 +676,6 @@ Main()

[ -r $EOS_UPDATE_NOTIFIER_CONF ] && source $EOS_UPDATE_NOTIFIER_CONF

AssignIconVariables_in_eos_bash_shared # get common icons

# ICO_UPDATE_AVAILABLE=$(eos_icon_path apps software-update-available) # app specific icons
case "$UpdateNotifyIcon" in
/*) ICO_UPDATE_AVAILABLE="$UpdateNotifyIcon" ;; # ICO_UPDATE_AVAILABLE=/usr/share/icons/Qogir/scalable/apps/software-update-available.svg
Expand Down

0 comments on commit e58ff77

Please sign in to comment.