Skip to content

Commit

Permalink
Fix another cosmetic linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Oct 23, 2024
1 parent 237f705 commit f2a6f81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ flatpak install --system com.obsproject.Studio # This MUST be from Flathub and n
rpm-ostree install libreoffice nextcloud-client nextcloud-client-nautilus

systemctl enable seagl-init-system-flatpak.service
mv /var/lib/flatpak /usr/lib/seagl-flatpak # Hack to satisfy the linter: --system
mv /var/lib/flatpak /usr/lib/seagl-flatpak

### Configure system

Expand Down
2 changes: 1 addition & 1 deletion lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ trap 'echo Failed!' ERR
# See 8f01ed1063e61407dc71f01863b0256f5082fd94 for rationale
echo 'Checking that all `flatpak` invocations pass `--system`.'
# We use () to make this a subshell to avoid ! not triggering a `set -e` bailout; see bash(1)'s documentation on this flag for more
( ! grep -n flatpak *.sh | grep -v -- --system )
( ! grep -n flatpak *.sh | grep -ve systemctl -e /var/lib/flatpak | grep -v -- --system )

for i in bin/* sbin/*; do
echo 'Checking that `'"$i"'` contains `set -euo pipefail`.'
Expand Down

0 comments on commit f2a6f81

Please sign in to comment.