diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-07-27 16:59:22 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-07-27 16:59:22 -0500 |
commit | eecd65119c002eed27c1075146ae7636f4fa5ebd (patch) | |
tree | ca640eb063411a1ad02808e7b0a658841b181d9e /migratekde3 | |
parent | a41c85f0d728c560efa2bf9f9259f36bc4ce8dea (diff) | |
download | tdebase-eecd65119c002eed27c1075146ae7636f4fa5ebd.tar.gz tdebase-eecd65119c002eed27c1075146ae7636f4fa5ebd.zip |
Allow migratekde3 script to continue automatically when sufficient
disk space exists. Improve messages and add more error trapping in
r14-xdg-update script.
Diffstat (limited to 'migratekde3')
-rw-r--r-- | migratekde3 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/migratekde3 b/migratekde3 index 7e5969def..62f679326 100644 --- a/migratekde3 +++ b/migratekde3 @@ -80,11 +80,15 @@ echo "Space required for new profile: ${PROFILE_SIZE} MB" # If obvious insufficient space then inform and quit. if [ $PROFILE_SIZE -gt $REMAINING_SPACE ]; then echo "Insufficient disk space. Exiting." + echo exit 0 +else + echo "Sufficient disk space exists. Continuing." + echo fi # Ask whether to proceed. -Wait_For_Response "Migrate?" -Proceed_From_Response +# Wait_For_Response "Migrate?" +# Proceed_From_Response # User wants to migrate. echo "Migrating an existing KDE3 profile directory:" 1>&2 echo "This is a one-time event." 1>&2 |