2 [[ ! -d /var/backup ]] && install -dm755 /var/backup
3 echo "==> To enable SSH/S3/MySQL functionality, edit /etc/packrat.conf:"
4 echo " -> Add each desired module to its appropriate METHODS array."
5 echo " -> Add your SSH/S3/MySQL info to the corresponding MODULE sections below."
13 eval $(sed -n 's/\(BACKUP_DIR\)[^=]*\(=\)[ \t^I]*\(.*\)/\1\2\3/p' /etc/packrat.conf)
15 if [[ -d /var/backup || -d $BACKUP_DIR ]]; then
16 echo "==> Packrat archives will remain untouched:"
17 [[ -d /var/backup ]] && echo " -> /var/backup"
18 [[ -d $BACKUP_DIR && $BACKUP_DIR != /var/backup ]] && echo " -> $BACKUP_DIR"