fix(gnome-extensions): Fly-Pie extension not working pt.2
Forgot that this one also doesn't include `gschemas.compiled` in ZIP, unlike some extensions, so just compile the schema always to the UUID extension directory.
This commit is contained in:
parent
dce31464c1
commit
4c028bb1d8
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ if [[ ${#INSTALL[@]} -gt 0 ]]; then
|
|||
if [[ "${INSTALL_EXT}" == "Fly-Pie" ]]; then
|
||||
install -d -m 0755 "/usr/share/gnome-shell/extensions/${EXT_UUID}/schemas/"
|
||||
install -D -p -m 0644 "${TMP_DIR}/schemas/"*.gschema.xml "/usr/share/gnome-shell/extensions/${EXT_UUID}/schemas/"
|
||||
install -D -p -m 0644 "${TMP_DIR}/schemas/gschemas.compiled" "/usr/share/gnome-shell/extensions/${EXT_UUID}/schemas/"
|
||||
glib-compile-schemas "/usr/share/gnome-shell/extensions/${EXT_UUID}/schemas/" &>/dev/null
|
||||
else
|
||||
# Regular schema installation
|
||||
install -d -m 0755 "/usr/share/glib-2.0/schemas/"
|
||||
|
|
@ -164,7 +164,7 @@ if [[ ${#INSTALL[@]} -gt 0 ]] && ! "${LEGACY}"; then
|
|||
if [[ "${INSTALL_EXT}" == "Fly-Pie" ]]; then
|
||||
install -d -m 0755 "/usr/share/gnome-shell/extensions/${EXT_UUID}/schemas/"
|
||||
install -D -p -m 0644 "${TMP_DIR}/schemas/"*.gschema.xml "/usr/share/gnome-shell/extensions/${EXT_UUID}/schemas/"
|
||||
install -D -p -m 0644 "${TMP_DIR}/schemas/gschemas.compiled" "/usr/share/gnome-shell/extensions/${EXT_UUID}/schemas/"
|
||||
glib-compile-schemas "/usr/share/gnome-shell/extensions/${EXT_UUID}/schemas/" &>/dev/null
|
||||
else
|
||||
# Regular schema installation
|
||||
install -d -m 0755 "/usr/share/glib-2.0/schemas/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue