Skip to content

Commit

Permalink
chore(SystemdExt): don't remove archive until squashfs successfully runs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed Jul 3, 2024
1 parent 1c0db87 commit 055a80a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rootfs/usr/share/opengamepadui/scripts/update_systemd_ext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ rm -rf squashfs-root
unsquashfs -no-xattrs opengamepadui.raw
grep '^ID=' /etc/os-release >squashfs-root/usr/lib/extension-release.d/extension-release.opengamepadui
grep '^VERSION_ID=' /etc/os-release >>squashfs-root/usr/lib/extension-release.d/extension-release.opengamepadui
rm -f opengamepadui.raw
mksquashfs squashfs-root opengamepadui.raw
mksquashfs squashfs-root opengamepadui.raw.updated
mv opengamepadui.raw.updated opengamepadui.raw
rm -rf squashfs-root

0 comments on commit 055a80a

Please sign in to comment.