Fix monthly backups not being rotated.
authorSugar Labs BOFH <sysadmin@sugarlabs.org>
Thu, 2 Feb 2017 03:10:01 +0000 (22:10 -0500)
committerSugar Labs BOFH <sysadmin@sugarlabs.org>
Thu, 2 Feb 2017 03:10:01 +0000 (22:10 -0500)
commit5c8fab3cdc29ab5b0991579efc8dc516ff73e526
tree4f6187ee0e9dc9e8789955f7a1be329e55664616
parentc02953445f24eaa776092b516abe9e8be33c0149
Fix monthly backups not being rotated.

Two distinct bugs in bash variable manipulation:
 - "$DATE-monthly" should have been "${DATE}-monthly"
 - "date +%d" outputs "01" and not "1".

Yes, my bash-fu is weak.
wizbackup