mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
fix: Check for install list before attempting to install flatpaks
This commit is contained in:
parent
397e17062d
commit
a09ad6325e
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cat /etc/flatpak/install | while read line; do
|
||||
flatpak install --system --noninteractive --no-pull flathub $line
|
||||
done && mv /etc/flatpak/install /etc/flatpak/installed
|
||||
if [[ -f '/etc/flatpak/install' ]]; then
|
||||
cat /etc/flatpak/install | while read line; do
|
||||
flatpak install --system --noninteractive --no-pull flathub $line
|
||||
done && mv /etc/flatpak/install /etc/flatpak/installed
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user