From: Christian Heller Date: Wed, 2 Aug 2023 19:27:01 +0000 (+0200) Subject: Improve w530 bookworm setup. X-Git-Url: https://plomlompom.com/repos/?p=config;a=commitdiff_plain;h=dca680417add4b592da91877e382337b09a0bd09 Improve w530 bookworm setup. --- diff --git a/bookworm/apt-mark/.user.swp b/bookworm/apt-mark/.user.swp deleted file mode 100644 index 29184c9..0000000 Binary files a/bookworm/apt-mark/.user.swp and /dev/null differ diff --git a/bookworm/home_files/user/mail_sync.sh b/bookworm/home_files/user/mail_sync.sh index 7d96256..ffe6b4a 100755 --- a/bookworm/home_files/user/mail_sync.sh +++ b/bookworm/home_files/user/mail_sync.sh @@ -22,11 +22,8 @@ for tag in $(notmuch search --output=tags '*'); do fi target_dir="${basedir}"$(echo "${tag}" | cut -c5-)"/cur/" for f in $(notmuch search --output=files tag:"${tag}"); do - echo DEBUG0 $f new_name=$(basename "${f}" | sed -e 's/,U=[0-9]*//') - echo DEBUG0 $new_name target_path="${target_dir}${new_name}" - echo DEBUG0 $target_path if [ ! "${target_path}" = "${f}" ]; then echo "Moving ${f} to ${target_path}." mv "${f}" "${target_path}" diff --git a/bookworm/setup_scripts/setup_home.sh b/bookworm/setup_scripts/setup_home.sh index 8a8b265..3dd502c 100755 --- a/bookworm/setup_scripts/setup_home.sh +++ b/bookworm/setup_scripts/setup_home.sh @@ -94,7 +94,7 @@ if [ -f "${authinfo_file}" ]; then fi cd -# rm -rf "${dir_secrets}" +rm -rf "${dir_secrets}" maildir=~/mail/maildir # # Set up e-mail system. Note that we only do mbsync if the imap pass file