Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ahjolinna:AtropOS
plasma-branding-AtropOS
atropos-firstboot-aarch64
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File atropos-firstboot-aarch64 of Package plasma-branding-AtropOS
#!/bin/sh dbusRef=$(kdialog --title "openSUSE AtropOS Desktop Firstboot" --geometry 600x400 --progressbar "openSUSE AtropOS Desktop Firstboot" 6) run_task() { local step="$1" local label="$2" shift 2 qdbus-qt5 $dbusRef setLabelText "$label" if eval "$@"; then qdbus-qt5 $dbusRef Set "" value "$step" else kdialog --error "Operation Failed: $label" exit 1 fi } run_task 1 "Waiting for Internet connection" 'until /usr/bin/ping -q -c 1 flathub.org; do sleep 1; done' run_task 2 "Adding Flathub Repository" /usr/bin/flatpak remote-add --user --if-not-exists flathub /usr/share/kalpa/flathub.flatpakrepo run_task 3 "Installing KCalc" /usr/bin/flatpak install --user --noninteractive flathub org.kde.kcalc run_task 4 "Installing Ark" /usr/bin/flatpak install --user --noninteractive flathub org.kde.ark run_task 5 "Cleaning up" rm -f ~/.config/autostart/kalpa-firstboot.desktop qdbus-qt5 $dbusRef close
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor