Remove startkde-firsttime script (moved to desktop-base-openmamba and made desktop indipendent)

This commit is contained in:
Silvan Calarco 2012-03-03 15:55:13 +01:00
parent 0ccb5d2304
commit 81ec0d6240
9 changed files with 3 additions and 45 deletions

View File

@ -1,5 +1,5 @@
# Makefile for openmamba-desktop-base # Makefile for openmamba-desktop-kde4
# Copyright (C) 2004-2010 by Silvan Calarco <silvan.calarco@mambasoft.it> # Copyright (C) 2004-2012 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com> # Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com>
include VERSION include VERSION
@ -66,7 +66,6 @@ INSTALL_DATA = ${INSTALL} -m 644
INSTALL_DIR = ${INSTALL} -d -m 755 INSTALL_DIR = ${INSTALL} -d -m 755
INSTALL_SCRIPT = ${INSTALL_PROGRAM} INSTALL_SCRIPT = ${INSTALL_PROGRAM}
pck_kdedesktop = $(wildcard kde/desktop/*.bz2)
#pck_srpms = flashplugin jre msttcorefonts win32codecs #pck_srpms = flashplugin jre msttcorefonts win32codecs
pck_srpms = flashplugin msttcorefonts win32codecs skype pck_srpms = flashplugin msttcorefonts win32codecs skype
@ -127,10 +126,6 @@ install-kde-distro-addons: dist-update
$(INSTALL_DATA) etc/pam.d/kde $(DESTDIR)$(sysconfdir)/pam.d/ $(INSTALL_DATA) etc/pam.d/kde $(DESTDIR)$(sysconfdir)/pam.d/
$(INSTALL_DATA) etc/pam.d/kde-np $(DESTDIR)$(sysconfdir)/pam.d/ $(INSTALL_DATA) etc/pam.d/kde-np $(DESTDIR)$(sysconfdir)/pam.d/
$(INSTALL_DATA) etc/sudoers.d/kde4 $(DESTDIR)$(sysconfdir)/sudoers.d/kde4 $(INSTALL_DATA) etc/sudoers.d/kde4 $(DESTDIR)$(sysconfdir)/sudoers.d/kde4
$(INSTALL_SCRIPT) kde/scripts/startkde-firsttime.sh $(DESTDIR)$(xprofiledir)
$(INSTALL_SCRIPT) kde/scripts/startkde.firsttime $(DESTDIR)$(kdebindir)
$(INSTALL_SCRIPT) kde/scripts/startkde.firsttime $(DESTDIR)$(kdebindir)
$(INSTALL_DATA) $(pck_kdedesktop) $(DESTDIR)$(distrokdedir)
cp -r kde/apps $(DESTDIR)$(kdedatadir) cp -r kde/apps $(DESTDIR)$(kdedatadir)
$(INSTALL_DATA) kde/autostart/mambatray.desktop $(DESTDIR)$(kdeautostartdir)/mambatray.desktop $(INSTALL_DATA) kde/autostart/mambatray.desktop $(DESTDIR)$(kdeautostartdir)/mambatray.desktop
$(INSTALL_DATA) kde/config/compizrc $(DESTDIR)$(kdeconfigdir)/compizrc $(INSTALL_DATA) kde/config/compizrc $(DESTDIR)$(kdeconfigdir)/compizrc

View File

@ -1,2 +1,3 @@
VERSION = 2.3.0 VERSION = 2.3.0

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,8 +0,0 @@
# KDE4 first time configuration script
#
# Copyright (C) 2009 Silvan Calarco <silvan.calarco@mambasoft.it>
#
if [ "$session" = "/opt/kde/bin/startkde" -o "$session" = "default" ]; then
[ -e $HOME/Desktop ] || /opt/kde/bin/startkde.firsttime
fi

View File

@ -1,30 +0,0 @@
#!/bin/bash
#
# startkde.firsttime - KDE firsttime script for @distroID@
#
# This file is called by startkde after the kpersonalizer has been
# executed for first access configuration
#
# Copyright (c) 2005-2009 by Silvan Calarco <silvan.calarco@qilinux.it>
# Copyright (c) 2007 by Davide Madrisan <davide.madrisan@gmail.com>
case "$LANG" in
es*) LANG_ADD=es ;;
fr*) LANG_ADD=fr ;;
it*) LANG_ADD=it ;;
*) LANG_ADD=en ;;
esac
kdeprefix=$(kde4-config --prefix 2>/dev/null) || exit 1
if [ -r @distrokdedir@/desktop-$LANG_ADD.tar.bz2 ]; then
mkdir -p $HOME/Desktop
( cd $HOME/Desktop >/dev/null
tar xjf @distrokdedir@/desktop-common.tar.bz2
tar xjf @distrokdedir@/desktop-$LANG_ADD.tar.bz2 )
fi
## launch keyboard configuration tool for english (international) version
#[ "$LANG_ADD" = "en" ] && kcmshell keyboard_layout
exit 0