desktop/kde-common/chakra-fix-configs.sh

12 lines
255 B
Bash
Raw Normal View History

2010-05-21 07:48:47 +08:00
#!/bin/bash
fix_configs() {
echo -e -n " > Adjusting paths in config files ..."
KDE_dir=".kde4"
2010-05-21 07:48:47 +08:00
pushd ~/$KDE_dir/share/config/ &> /dev/null
find ./ -type f -exec sed -i "s/\/.kdemod4/\/.kde4/g" {} \; &> /dev/null
2010-05-21 07:48:47 +08:00
popd &> /dev/null
echo " DONE"
}