Skip to content

Commit

Permalink
display: run configure script after populating the config (#188) (#190)
Browse files Browse the repository at this point in the history
Otherwise the file doesn't get the `DO NOT EDIT` header and things don't
work as expected.

Fixes #187
  • Loading branch information
AlanGriffiths authored Sep 23, 2024
2 parents f4fb641 + 9d98b43 commit 85ec76c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/bin/initialise-display-config
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ wait_for "${display_file}"
if [ -z "$(snapctl get display)" ] && ! grep "DO NOT EDIT THIS FILE BY HAND" "${display_file}"
then
snapctl set display="$(cat "${display_file}")"
# Need to run the configure script ourselves
$SNAP/meta/hooks/configure
fi

0 comments on commit 85ec76c

Please sign in to comment.