We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 397e170 commit a09ad63Copy full SHA for a09ad63
system_files/desktop/usr/bin/ublue-flatpak-system-install
@@ -1,5 +1,7 @@
1
-#!/bin/bash
+#!/usr/bin/env bash
2
3
-cat /etc/flatpak/install | while read line; do
4
- flatpak install --system --noninteractive --no-pull flathub $line
5
-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
6
+ done && mv /etc/flatpak/install /etc/flatpak/installed
7
+fi
0 commit comments