Commit 0dc1d89e authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

10.0/trisquel-gtk-theme: Modified deployment method for symlinks

parent ccc3d847
../Greybird-dark/Greybird-dark.emerald
\ No newline at end of file
../Greybird-dark/gnome-shell
\ No newline at end of file
../Greybird-dark/plank
\ No newline at end of file
../Greybird-dark/unity
\ No newline at end of file
../Greybird-dark/xfwm4
\ No newline at end of file
......@@ -6,7 +6,7 @@ Type=X-GNOME-Metatheme
Comment=Trisquel 10.x Dark Theme, based on Greybird-dark
[X-GNOME-Metatheme]
GtkTheme=Greybird-dark
MetacityTheme=Trisquel-Dark
GtkTheme=Trisquel-dark
MetacityTheme=Trisquel-dark
IconTheme=trisquel
CursorTheme=DMZ-White
../Greybird/Greybird.emerald
\ No newline at end of file
../Greybird/gnome-shell
\ No newline at end of file
......@@ -6,7 +6,7 @@ Type=X-GNOME-Metatheme
Comment=Trisquel 10.x Theme, based on Greybird
[X-GNOME-Metatheme]
GtkTheme=Greybird
GtkTheme=Trisquel
MetacityTheme=Trisquel
IconTheme=trisquel
CursorTheme=DMZ-White
trisquel-gtk-theme (10.5) nabia; urgency=medium
* Modified deployment method for symlinks
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Wed, 08 Dec 2021 16:44:29 -0500
trisquel-gtk-theme (10.4) nabia; urgency=medium
* Avoid symlinks on gtk directories
......
#!/bin/bash
for VARIANT in "" "-dark"; do
for DIR in gnome-shell plank unity xfwm4 gtk-2.0 gtk-3.0; do
if [ ! -L /usr/share/themes/Trisquel$VARIANT/$DIR ]; then
rm -rf /usr/share/themes/Trisquel$VARIANT/$DIR
ln -s /usr/share/themes/Greybird$VARIANT/$DIR /usr/share/themes/Trisquel$VARIANT/$DIR
fi
done
if ! [ -L /usr/share/themes/Trisquel$VARIANT/Trisquel$VARIANT.emerald ]; then
rm -rf /usr/share/themes/Trisquel$VARIANT/Trisquel$VARIANT.emerald
ln -s /usr/share/themes/Greybird$VARIANT/Greybird$VARIANT.emerald /usr/share/themes/Trisquel$VARIANT/Trisquel$VARIANT.emerald
fi
if ! [ -L /usr/share/themes/Trisquel-dark/metacity-1 ]; then
rm -rf /usr/share/themes/Trisquel-dark/metacity-1
ln -s /usr/share/themes/Trisquel/metacity-1 /usr/share/themes/Trisquel-dark/metacity-1
fi
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment