Skip to content

Commit

Permalink
Updated to Crashplan 4.5.2, improved update recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardopadilha committed Jan 29, 2016
1 parent c080e73 commit 687300e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ _download_deb() {
return 0
}

JAVA_VERSION="8u72-b05-2"
JAVA_VERSION="8u72-b05-6"
JAVA_INCLUDE="${PWD}/target/openjdk-8-jdk_${JAVA_VERSION}/usr/lib/jvm/java-8-openjdk-armel/include"
JAVA_INCLUDE_LINUX="${JAVA_INCLUDE}/linux"

Expand Down Expand Up @@ -89,7 +89,7 @@ popd

### CRASHPLAN ###
_build_crashplan() {
local VERSION="4.5.0"
local VERSION="4.5.2"
local FOLDER="crashplan-install"
local FILE="CrashPlan_${VERSION}_Linux.tgz"
local URL="http://download.code42.com/installs/linux/install/CrashPlan/${FILE}"
Expand Down
7 changes: 4 additions & 3 deletions src/dest/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

framework_version="2.1"
name="crashplan"
version="4.5.0"
version="4.5.2"
description="Online Data Backup - Offsite, Onsite, And Cloud."
depends="java8 locale"
webui="WebUI"
Expand Down Expand Up @@ -56,9 +56,10 @@ _perform_upgrades() {
-e "s|/bin/ps|${prog_dir}/libexec/ps|g" \
-e "s|^function ||g" \
-i "${updir}/upgrade.sh"
mv -f "${updir}/upgrade.sh" "${updir}/upgrade.sh.started"
cd "${updir}"
if /bin/sh ./upgrade.sh; then
mv -f "${updir}/upgrade.sh" "${updir}/upgrade.sh.done"
if /bin/sh ./upgrade.sh.started; then
mv -f "${updir}/upgrade.sh.started" "${updir}/upgrade.sh.done"
fi
fi
done
Expand Down
5 changes: 5 additions & 0 deletions src/dest/www/includes/changelog.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<p>Changes from 4.5.0:</p>
<ol>
<li>Crashplan updated to version 4.5.2 (<a href="https://support.code42.com/Release_Notes" target="_new">full changelog</a>).</li>
<li>Improved update recovery.</li>
</ol>
<p>Changes from 4.4.1-59:</p>
<ol>
<li>Crashplan updated to version 4.5.0 (<a href="https://support.code42.com/Release_Notes/CrashPlan_For_Home/4.5.0" target="_new">full changelog</a>).</li>
Expand Down
2 changes: 1 addition & 1 deletion src/dest/www/includes/variables.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
$app = "crashplan";
$appname = "Crashplan";
$appversion = "4.5.0";
$appversion = "4.5.2";
$appsite = "https://www.code42.com/crashplan/";
$apphelp = "https://support.code42.com/CrashPlan";
$apppage = "https://www.crashplan.com/account/login.vtl";
Expand Down

0 comments on commit 687300e

Please sign in to comment.