tag 581078 + patch thanks Replace bashisms in cleanup_digikamdb (Closes: #581078) --- a/core/utilities/scripts/cleanup_digikamdb/cleanup_digikamdb +++ b/core/utilities/scripts/cleanup_digikamdb/cleanup_digikamdb @@ -110,14 +110,14 @@ EOF cleanupDB() { - cd "$1" 2&> /dev/null + cd "$1" > /dev/null 2>&1 if [ $? = 0 ]; then local db_out="${output_str_database}:" - echo -e "${output_str_location}:\t$(pwd)" + echo "${output_str_location}: $(pwd)" for db in $(eval "find . ${db_find_cmd} 2> /dev/null") do - echo -ne "${db_out}\t${db} ... " + echo -n "${db_out} ${db} ... " sqlite3 ${db} "VACUUM;" if [ $? = 0 ] then @@ -126,9 +126,12 @@ cleanupDB() echo "failed!" fi done - echo -e "\n=> Finished"; + echo + echo "=> Finished" else - echo -e "\nI was not able to enter the database folder.\n" + echo + echo "I was not able to enter the database folder." + echo echo "Make sure that the variable '${config_key}' in your 'digikamrc' config file" echo "is set correctly and that you have permissions to access the database folder." fi -- Philipp Matthias Hahn <pmh...@debian.org> GPG/PGP: 9A540E39 @ keyrings.debian.org
_______________________________________________ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras