Commit Graph

2 Commits

Author SHA1 Message Date
Florian Fieber 9f4c0abc22 vim: Fix editing crontabs with crontab -e
Per default, vim creates a new file and keeps the original file as backup.
This leads to crontab checking the backup file for changes instead of the
one actually being edited, resulting in any changes being silently dropped.
Since busybox's crontab saves temporary crontab files in "/etc/crontabs.*"
vim's default of "backupskip=/tmp/*" doesn't circumvent this.

This commit fixes this issue by appending "/etc/crontabs.*" to "backupskip".

Signed-off-by: Florian Fieber <florian@florianfieber.de>
2015-06-05 20:32:44 +02:00
Marko Ratkaj c48fe5e030 vim: import from old packages
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-03-02 19:57:02 +01:00