Skip to content
Snippets Groups Projects
Commit a7122f55 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Improvements to mate-panel reset mechanism

parent 46711b5b
No related branches found
No related tags found
2 merge requests!307Etiona test mr,!179Corrected patch for make-bleachbit
......@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=8
VERSION=9
. ./config
......@@ -105,8 +105,10 @@ RELEASE=\$(lsb_release -rs)
if [ ! -f \$HOME/.config/mate/panel2.d/trisquel\$RELEASE ] || \
! grep -q $VERSION \$HOME/.config/mate/panel2.d/trisquel\$RELEASE; then
gsettings reset-recursively org.mate.panel
sleep 1
if dconf dump /org/mate/panel/ |grep -q Clock; then
gsettings reset-recursively org.mate.panel
sleep 1
fi
dconf write /org/mate/panel/toplevels/top/background/color "'rgba(0,0,0,0.5)'"
[ -d \$HOME/.config/mate/panel2.d ] || mkdir -p \$HOME/.config/mate/panel2.d
echo $VERSION > \$HOME/.config/mate/panel2.d/trisquel\$RELEASE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment