Skip to content

Commit

Permalink
display: run configure script after populating the config (#188)
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 Jun 17, 2024
2 parents 8c44955 + dd4946d commit f7b633e
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 f7b633e

Please sign in to comment.