From d41051b3a2e2440f8648a8b30bc0e4b3524d3f13 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 14 Jul 2013 19:33:02 -0500 Subject: Add support for tdenetworkmanager and tdepowersave. --- r14-xdg-update | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'r14-xdg-update') diff --git a/r14-xdg-update b/r14-xdg-update index 627262ac4..84c9e0c08 100644 --- a/r14-xdg-update +++ b/r14-xdg-update @@ -634,6 +634,17 @@ if [ ! -f $HOME/.tderc ] && [ -f $HOME/.kderc ]; then mv $HOME/.kderc $HOME/.tderc 2>/dev/null fi fi +# Copy the following two rc files rather than move because the older versions are for HAL systems. +if [ ! -f $PROFILE_DIR/share/config/tdenetworkmanagerrc ] && [ -f $PROFILE_DIR/share/config/knetworkmanagerrc ]; then + Message_Prefix + echo " knetworkmanager->tdenetworkmanager" + cp -a $PROFILE_DIR/share/config/knetworkmanagerrc $PROFILE_DIR/share/config/tdenetworkmanagerrc 2>/dev/null +fi +if [ ! -f $PROFILE_DIR/share/config/tdepowersaverc ] && [ -f $PROFILE_DIR/share/config/kpowersaverc ]; then + Message_Prefix + echo " kpowersave->tdepowersave" + cp -a $PROFILE_DIR/share/config/kpowersaverc $PROFILE_DIR/share/config/tdepowersaverc 2>/dev/null +fi # Disable some features new to R14, otherwise users will see an unfamiliar desktop. if [[ $($TDEDIR/bin/kreadconfig --file kickerrc --group "General" --key "ShowDeepButtons" --default false) == "false" ]]; then -- cgit v1.2.1