Explorar el Código

fix cronjob removed on purge

pull/269/head
mkomod hace 6 años
padre
commit
79e134c6b0
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      bin/mw

+ 1
- 0
bin/mw Ver fichero

@@ -293,6 +293,7 @@ asktype() { while : ; do

purge() { confirm "delete all account data" || exit
rm -rf "$mbsyncrc" "$accdir" "$HOME/.config/msmtp" "$cachedir"
crontab -l | sed '/mailsync/d' | crontab - >/dev/null
echo "All configs and account settings have been purged."
sed -ibu "/\# mw-autogenerated/d" "$muttrc" ; rm -f "$muttrc"bu
}


Cargando…
Cancelar
Guardar