1
0

- Minor locale bugfixes and cleanup

OBS-URL: https://build.opensuse.org/package/show/devel:microos:aeon/gnome-branding-Aeon?expand=0&rev=17
This commit is contained in:
Richard Brown 2024-05-23 15:01:12 +00:00 committed by Git OBS Bridge
parent c9d972f25b
commit ec0a06224c
2 changed files with 10 additions and 1 deletions

View File

@ -86,6 +86,7 @@ lastMSG() {
zenity --info --icon=distributor-logo-Aeon-symbolic --no-wrap --title 'Welcome to openSUSE Aeon' \
--text 'Congratulations!\n\nYour system is ready to be used\n\nWe hope you enjoy using <b>openSUSE Aeon</b>' \
--width 300 --height 300
rm ~/.config/autostart/aeon-firstboot.desktop
}
detectLocale() {
@ -97,6 +98,7 @@ detectLocale() {
show_progress() {
(
sleep 1
echo "# Waiting for Internet connection"
until /usr/bin/curl -s --max-time 5 https://flathub.org > /dev/null; do sleep 1; done
while /usr/bin/pgrep -f '/usr/bin/flatpak|/usr/sbin/transactional-update|/usr/bin/pkexec' >/dev/null; do
@ -107,7 +109,7 @@ show_progress() {
}
install_locale() {
pkexec sh -c "/usr/sbin/transactional-update -n run zypper aloc ${need_locale} && /usr/sbin/transactional-update -n apply"
pkexec sh -c "/usr/sbin/transactional-update -n run zypper -n aloc ${need_locale} && /usr/sbin/transactional-update -n apply"
if [ "$?" != 0 ] ; then
zenity --error \
--text="Installing Locales Failed"
@ -117,6 +119,8 @@ install_locale() {
do
rmdir $i
done
rm $HOME/.config/user-dirs.dirs
rm $HOME/.config/user-dirs.locale
xdg-user-dirs-update --force
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 23 15:00:50 UTC 2024 - Richard Brown <rbrown@suse.com>
- Minor locale bugfixes and cleanup
-------------------------------------------------------------------
Thu May 23 12:53:48 UTC 2024 - Richard Brown <rbrown@suse.com>