fix(gnome-extensions): Fix workaround for Fly-Pie
INSTALL_EXT is undefined in legacy config logic, but EXTENSION_NAME is defined here
This commit is contained in:
parent
40c620f161
commit
0dc909a911
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ if [[ ${#INSTALL[@]} -gt 0 ]]; then
|
|||
# Error code example:
|
||||
# GLib.FileError: Failed to open file “/usr/share/gnome-shell/extensions/flypie@schneegans.github.com/schemas/gschemas.compiled”: open() failed: No such file or directory
|
||||
# If any extension produces this error, it can be added in if statement below to solve the problem
|
||||
if [[ "${INSTALL_EXT}" == "Fly-Pie" ]]; then
|
||||
if [[ "${EXTENSION_NAME}" == "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/"
|
||||
glib-compile-schemas "/usr/share/gnome-shell/extensions/${EXT_UUID}/schemas/" &>/dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue