Back up Ombi.db

This commit is contained in:
Avi 2018-03-27 19:07:43 -05:00
parent bb6c2ae246
commit 93600f0086

View file

@ -52,7 +52,7 @@ declare -i verbosity=-1
############################################
name="update_ombi"
version="1.2.00"
version="1.3.00"
SECONDS=0
arch=$(uname -m)
archshort=${arch:0:3}
@ -279,6 +279,10 @@ else
.log 6 "Ombi is not active...installing update..."
fi
declare -i timestamp=$(date +%s)
.log 6 "Backing up Ombi.db to Ombi.db.$timestamp"
cp ${installdir}Ombi.db ${installdir}Ombi.db.$timestamp
unzip-strip $file $installdir
.log 6 "Update installed...setting ownership..."
chown -R $user:$group $installdir