chore(flatpak-manager): Rename from flatpak-system-install to flatpak-manager

More accurate name as it both removes and installs flatpaks and removes Fedora's
flatpak repo
This commit is contained in:
RJ Trujillo 2023-09-09 10:07:41 -06:00
parent 65deb1140b
commit 8b82ea52c2
3 changed files with 10 additions and 10 deletions

View File

@ -181,8 +181,8 @@ RUN rm /usr/share/applications/shredder.desktop && \
systemctl enable displaylink.service && \ systemctl enable displaylink.service && \
systemctl enable btrfs-dedup@var-home.timer && \ systemctl enable btrfs-dedup@var-home.timer && \
systemctl enable input-remapper.service && \ systemctl enable input-remapper.service && \
systemctl unmask flatpak-system-install.service && \ systemctl unmask bazzite-flatpak-manager.service && \
systemctl enable flatpak-system-install.service && \ systemctl enable bazzite-flatpak-manager.service && \
systemctl disable rpm-ostreed-automatic.timer && \ systemctl disable rpm-ostreed-automatic.timer && \
systemctl --global enable ublue-update.timer && \ systemctl --global enable ublue-update.timer && \
systemctl enable bazzite-hardware-setup.service && \ systemctl enable bazzite-hardware-setup.service && \

View File

@ -1,12 +1,12 @@
[Unit] [Unit]
Description=Install System Flatpak on boot Description=Manage system flatpaks
Documentation=https://github.com/ublue-os/endlish-oesque/issues/10 Documentation=https://github.com/ublue-os/endlish-oesque/issues/10
Wants=network-online.target Wants=network-online.target
After=network-online.target bazzite-hardware-setup.service After=network-online.target bazzite-hardware-setup.service
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/usr/bin/ublue-flatpak-system-install ExecStart=/usr/bin/bazzite-flatpak-manager
Restart=on-failure Restart=on-failure
[Install] [Install]

View File

@ -2,13 +2,13 @@
source /etc/default/bazzite source /etc/default/bazzite
# Script Version # Script Version
FSI_VER=1 VER=1
FSI_VER_FILE="/etc/bazzite/fsi_version" VER_FILE="/etc/bazzite/flatpak_manager_version"
FSI_VER_RAN=$(cat $FSI_VER_FILE) VER_RAN=$(cat $VER_FILE)
# Run script if updated # Run script if updated
if [[ -f $FSI_VER_FILE && $FSI_VER = $FSI_VER_RAN ]]; then if [[ -f $VER_FILE && $VER = $VER_RAN ]]; then
echo "Flatpak system installation has already ran. Exiting..." echo "Flatpak manager v$VER has already ran. Exiting..."
exit 0 exit 0
fi fi
@ -43,4 +43,4 @@ if [[ -n $REMOVE_LIST ]]; then
fi fi
mkdir -p /etc/bazzite mkdir -p /etc/bazzite
echo $FSI_VER > $FSI_VER_FILE echo $VER > $VER_FILE