fix: Revert icons installation
It's more reliable to have them in main extension folder instead They appear to work.
This commit is contained in:
parent
5b4b47e6e0
commit
10f53b27e6
1 changed files with 1 additions and 9 deletions
|
|
@ -49,7 +49,7 @@ if [[ ${#GETTEXT_DOMAIN[@]} -gt 0 ]]; then
|
|||
# Install main extension files
|
||||
echo "Installing main extension files"
|
||||
install -d -m 0755 "/usr/share/gnome-shell/extensions/${UUID}/"
|
||||
find "${TMP_DIR}" -mindepth 1 -maxdepth 1 ! -path "*locale*" ! -path "*schemas*" ! -path "*icons*" -exec cp -r {} "/usr/share/gnome-shell/extensions/${UUID}/" \;
|
||||
find "${TMP_DIR}" -mindepth 1 -maxdepth 1 ! -path "*locale*" ! -path "*schemas*" -exec cp -r {} "/usr/share/gnome-shell/extensions/${UUID}/" \;
|
||||
find "/usr/share/gnome-shell/extensions/${UUID}" -type d -exec chmod 0755 {} +
|
||||
find "/usr/share/gnome-shell/extensions/${UUID}" -type f -exec chmod 0644 {} +
|
||||
# Install schema
|
||||
|
|
@ -71,14 +71,6 @@ if [[ ${#GETTEXT_DOMAIN[@]} -gt 0 ]]; then
|
|||
install -d -m 0755 "/usr/share/locale/"
|
||||
cp -r "${TMP_DIR}/locale"/* "/usr/share/locale/"
|
||||
fi
|
||||
# Install icons if extension uses them
|
||||
# This is only for extensions which respect XDG icon standard
|
||||
# Some extensions simply supply icons in the extension folder & they work
|
||||
if [[ -d "${TMP_DIR}/icons" ]]; then
|
||||
echo "Installing icons for the extension"
|
||||
install -d -m 0755 "/usr/share/icons/"
|
||||
cp -r "${TMP_DIR}/icons"/* "/usr/share/icons/"
|
||||
fi
|
||||
# Delete the temporary directory
|
||||
echo "Cleaning up the temporary directory"
|
||||
rm -r "${TMP_DIR}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue