Compare commits

..

No commits in common. "60ab5840ba220517b649a760ad21cc4d0873e30f" and "a734bbf83b5f8f0cbc589b6c941301bff67fe5f4" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ LOG_FILE=$LOG_DIR/$DATE.log
LIMIT=5
## Because cron fucks our env, and loading /etc/bashrc doesn't always fix it
alias btrfs='/usr/sbin/btrfs'
alias btrfs='/usr/bin/btrfs'
## The subvols that we want to backup
### <actual-directory>:<name-of-backup-dir>

View File

@ -27,7 +27,7 @@ function log () {
}
function get_remote_version(){
local REMOTE_VERSION=`curl -s $DOWNLOAD_URL | grep -Eo $VERSION_REGEX | head -n 1`
local REMOTE_VERSION=`curl $DOWNLOAD_URL | grep -Eo $VERSION_REGEX | head -n 1`
if [[ "$REMOTE_VERSION" ]]; then
echo "$REMOTE_VERSION"