diff options
author | D. Johnson <fenris02@fedoraproject.org> | 2011-09-18 00:56:58 -0500 |
---|---|---|
committer | D. Johnson <fenris02@fedoraproject.org> | 2011-09-18 00:56:58 -0500 |
commit | f5d84747652d8896c1b2447e20fba45e81cb8900 (patch) | |
tree | 60000af1559d2ed04a466258a3e03ec8c1c6864a /distro-clean.sh | |
parent | 80160a890bb9b6b37b24ea50b0fcff8713a5c3e4 (diff) | |
download | cleanup-f5d84747652d8896c1b2447e20fba45e81cb8900.tar.gz cleanup-f5d84747652d8896c1b2447e20fba45e81cb8900.tar.xz cleanup-f5d84747652d8896c1b2447e20fba45e81cb8900.zip |
Move ~/.config/ to avoid problems with upgrades
Diffstat (limited to 'distro-clean.sh')
-rwxr-xr-x | distro-clean.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distro-clean.sh b/distro-clean.sh index ce20d14..971328e 100755 --- a/distro-clean.sh +++ b/distro-clean.sh @@ -126,6 +126,7 @@ install fpaste install policycoreutils install redhat-lsb install rpmconf +install yum-plugin-local EOT echo 'run' >> $YSHELL @@ -173,7 +174,7 @@ package-cleanup --cleandupes getent passwd \ |while IFS=: read userName passWord userID groupID geCos homeDir userShell; do [ -d "${homeDir}/.config" ] \ - && echo mv "${homeDir}/.config" "${homeDir}/.config.${DS}" + && mv "${homeDir}/.config" "${homeDir}/.config.${DS}" done # |