diff --git a/src/freedombone-restore-local b/src/freedombone-restore-local index 8606962e..243bebeb 100755 --- a/src/freedombone-restore-local +++ b/src/freedombone-restore-local @@ -270,9 +270,13 @@ function restore_mutt_settings { restore_directory_from_usb $temp_restore_dir mutt/$USERNAME if [ -f $temp_restore_dir/home/$USERNAME/tempbackup/.muttrc ]; then cp -f $temp_restore_dir/home/$USERNAME/tempbackup/.muttrc /home/$USERNAME/.muttrc + sed -i '/set sidebar_delim/d' /home/$USERNAME/.muttrc + sed -i '/set sidebar_sort/d' /home/$USERNAME/.muttrc fi if [ -f $temp_restore_dir/home/$USERNAME/tempbackup/Muttrc ]; then cp -f $temp_restore_dir/home/$USERNAME/tempbackup/Muttrc /etc/Muttrc + sed -i '/set sidebar_delim/d' /etc/Muttrc + sed -i '/set sidebar_sort/d' /etc/Muttrc fi if [ ! "$?" = "0" ]; then rm -rf $temp_restore_dir diff --git a/src/freedombone-restore-remote b/src/freedombone-restore-remote index f97a9bd8..191cc672 100755 --- a/src/freedombone-restore-remote +++ b/src/freedombone-restore-remote @@ -261,9 +261,13 @@ function restore_mutt_settings { restore_directory_from_friend ${temp_restore_dir} mutt/$USERNAME if [ -f ${temp_restore_dir}/home/$USERNAME/tempbackup/.muttrc ]; then cp -f ${temp_restore_dir}/home/$USERNAME/tempbackup/.muttrc /home/$USERNAME/.muttrc + sed -i '/set sidebar_delim/d' /home/$USERNAME/.muttrc + sed -i '/set sidebar_sort/d' /home/$USERNAME/.muttrc fi if [ -f ${temp_restore_dir}/home/$USERNAME/tempbackup/Muttrc ]; then cp -f ${temp_restore_dir}/home/$USERNAME/tempbackup/Muttrc /etc/Muttrc + sed -i '/set sidebar_delim/d' /etc/Muttrc + sed -i '/set sidebar_sort/d' /etc/Muttrc fi if [ ! "$?" = "0" ]; then rm -rf ${temp_restore_dir}