From e58ff773d0a7b9faab03eb2f59e78883002a9109 Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 1 Aug 2024 19:20:19 +0300 Subject: [PATCH] [eos-update-notifier] check for yad existence --- eos-update-notifier/PKGBUILD | 4 ++-- eos-update-notifier/eos-update-notifier | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/eos-update-notifier/PKGBUILD b/eos-update-notifier/PKGBUILD index d37f3585..2cddad6a 100644 --- a/eos-update-notifier/PKGBUILD +++ b/eos-update-notifier/PKGBUILD @@ -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') @@ -34,7 +34,7 @@ source=( $_url/$pkgname.service $_url/checkupdatesext ) -sha512sums=('714bc84ca42d71e0832c114e95e5b6ee758f8a132e07ff985520de38c86b36ad306488cee6e6fca9ce7e716a52a558c22148e6e88e76201e34aaa7d87e16cf67' +sha512sums=('29d6492f816aa94c62bb8e6379ca4b948c4503e12d329f13b368aaf76a20ba61b76b8913b659b311e7259ee1405684b46754c9596d4aca04ed3d8fa8b9567d2a' '8873c225c650f272221e8057b28bb6bd917e6da1e97baa79eafe42e8f1e7efb485dc094d66cba55fe4cc7421a556048e0ae171371766d36d7dfe8add79ac6e3d' '0bdcd09c69e1fb9d7e28a9155e90c6c632c506d619685b8a8a417dd737d240a96cce77b3231a4644e9f79de9e7b3a0048d299476ad0c78076528c5389641af31' '76c99cf430236325e12f7633d85bc3a1055dc2c5d23619c494cf98c447b7beb5da7d71870cef68f1caa39db713e22221f8fdd75b05bdda5adc90fa29136b7445' diff --git a/eos-update-notifier/eos-update-notifier b/eos-update-notifier/eos-update-notifier index 0fa54ac4..1081be53 100755 --- a/eos-update-notifier/eos-update-notifier +++ b/eos-update-notifier/eos-update-notifier @@ -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" @@ -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