forked from pool/gnome-branding-Aeon
Accepting request 1135493 from home:dopice:branches:devel:microos:aeon
Changed the online check from using ping to cURL. Since Flatpak uses https to download the packages, I believe the online check should use the same method. I discovered this when installing a new computer in a network which have restricted outbouond ICMP. OBS-URL: https://build.opensuse.org/request/show/1135493 OBS-URL: https://build.opensuse.org/package/show/devel:microos:aeon/gnome-branding-Aeon?expand=0&rev=14
This commit is contained in:
parent
ae96d225c9
commit
f11a992f6d
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
(
|
||||
echo "# Waiting for Internet connection"
|
||||
until /usr/bin/ping -q -c 1 flathub.org; do sleep 1; done
|
||||
until /usr/bin/curl -s --max-time 5 https://flathub.org > /dev/null; do sleep 1; done
|
||||
echo "10"
|
||||
|
||||
echo "# Adding Flathub Repository"
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 28 14:52:59 UTC 2023 - dopice <0xdopice@protonmail.com>
|
||||
|
||||
- Use cURL instead of ping for online check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 09:06:27 UTC 2023 - Richard Brown <rbrown@suse.com>
|
||||
|
||||
|
@ -28,7 +28,7 @@ Source2: flathub.flatpakrepo
|
||||
Source3: aeon-firstboot.desktop
|
||||
Source4: aeon-firstboot
|
||||
Source5: 50-desktop.conf
|
||||
Source6: aeonwallpaper.png
|
||||
Source6: aeonwallpaper.png
|
||||
Source7: distrobox-upgrade-all.service
|
||||
Source8: distrobox-upgrade-all.timer
|
||||
Source9: 50-aeon
|
||||
@ -37,15 +37,15 @@ Source11: 49-aeon.rules
|
||||
BuildArch: noarch
|
||||
BuildRequires: flatpak
|
||||
BuildRequires: gio-branding-openSUSE
|
||||
BuildRequires: transactional-update
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: sudo
|
||||
BuildRequires: polkit
|
||||
Requires: polkit
|
||||
Requires: sudo
|
||||
BuildRequires: sudo
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: transactional-update
|
||||
Requires: flatpak
|
||||
Requires: gio-branding-openSUSE
|
||||
Requires: polkit
|
||||
Requires: sound-theme-freedesktop
|
||||
Requires: sudo
|
||||
Requires: transactional-update
|
||||
Requires: zenity
|
||||
Obsoletes: gnome-branding-MicroOS
|
||||
|
Loading…
Reference in New Issue
Block a user