diff --git a/le-interface/VERSAO b/le-interface/VERSAO index 1892b926767774e9ba91f1e584fa71b4c56abb69..5bdcf5c395a489b047e598cfa552e30f4593c04b 100644 --- a/le-interface/VERSAO +++ b/le-interface/VERSAO @@ -1 +1 @@ -1.3.2 +1.3.15 diff --git a/le-interface/pacote/etc/kde4/kdm/Xstartup b/le-interface/pacote/etc/kde4/kdm/Xstartup index c013ac892723bd96001cb222c69f10a5e5a3cf15..c1ed916e2bd86f41f36d6c421245d2343370fa02 100755 --- a/le-interface/pacote/etc/kde4/kdm/Xstartup +++ b/le-interface/pacote/etc/kde4/kdm/Xstartup @@ -31,6 +31,7 @@ VIA=le-interface-via-fix.sh NETWORK=le-interface-network.sh NETCONFIG=le-netconfig.sh SOUNDCONFIG=le-soundconfig.sh +GNOMEKEYRING=le-interface-gnome-keyring.sh # Scripts lists for non-freeze and freeze users, and a commom scripts list COMMONSCRIPTS=" @@ -40,7 +41,8 @@ COMMONSCRIPTS=" $SHPATH/$VIA \ $SHPATH/$NETWORK \ $SHPATH/$NETCONFIG \ - $SHPATH/$SOUNDCONFIG + $SHPATH/$SOUNDCONFIG \ + $SHPATH/$GNOMEKEYRING " NFSCRIPTS=" diff --git a/le-interface/pacote/etc/skel/.gnome2/keyrings/default b/le-interface/pacote/etc/skel/.gnome2/keyrings/default new file mode 100644 index 0000000000000000000000000000000000000000..4ad96d51599fb734101f6229f6c1a8a509bd6255 --- /dev/null +++ b/le-interface/pacote/etc/skel/.gnome2/keyrings/default @@ -0,0 +1 @@ +default diff --git a/le-interface/pacote/etc/skel/.gnome2/keyrings/default.keyring b/le-interface/pacote/etc/skel/.gnome2/keyrings/default.keyring new file mode 100644 index 0000000000000000000000000000000000000000..8bc6e2c1e7434617886979af979b9346860d86b6 --- /dev/null +++ b/le-interface/pacote/etc/skel/.gnome2/keyrings/default.keyring @@ -0,0 +1,9 @@ + +[keyring] +display-name=PadrĂ£o +ctime=0 +mtime=0 +lock-on-idle=false +lock-after=false + + diff --git a/le-interface/pacote/usr/local/bin/le-interface-gnome-keyring.sh b/le-interface/pacote/usr/local/bin/le-interface-gnome-keyring.sh new file mode 100755 index 0000000000000000000000000000000000000000..e6a8e5adebd98aa1130d4959c001804a4f6ca144 --- /dev/null +++ b/le-interface/pacote/usr/local/bin/le-interface-gnome-keyring.sh @@ -0,0 +1,28 @@ +#!/bin/bash +# +# Copyright (C) 2004-2012 Centro de Computacao Cientifica e Software Livre +# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR +# +# This file is part of le-interface +# +# le-interface is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. + +# Removes gnome-keyring at login +if ! test -f "$HOME/.gnome2/keyrings/default.keyring"; then + cp -r /etc/skel/.gnome2 "$HOME" + chown -R --reference="$HOME" "$HOME/.gnome2" +fi +