mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Merge pull request #14405 from jerith666/crashplan-46-r2
Crashplan 46 r2
This commit is contained in:
commit
687d21e4fd
@ -50,7 +50,7 @@ with lib;
|
|||||||
ensureDir ${crashplan.vardir}/log 777
|
ensureDir ${crashplan.vardir}/log 777
|
||||||
cp -avn ${crashplan}/conf.template/* ${crashplan.vardir}/conf
|
cp -avn ${crashplan}/conf.template/* ${crashplan.vardir}/conf
|
||||||
for x in app.asar bin EULA.txt install.vars lang lib libjniwrap64.so libjniwrap.so libjtux64.so libjtux.so libmd564.so libmd5.so share skin upgrade; do
|
for x in app.asar bin EULA.txt install.vars lang lib libjniwrap64.so libjniwrap.so libjtux64.so libjtux.so libmd564.so libmd5.so share skin upgrade; do
|
||||||
if [ -e $x ]; then
|
if [ -e ${crashplan.vardir}/$x ]; then
|
||||||
true;
|
true;
|
||||||
else
|
else
|
||||||
ln -s ${crashplan}/$x ${crashplan.vardir}/$x;
|
ln -s ${crashplan}/$x ${crashplan.vardir}/$x;
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, jre, cpio, gawk, gnugrep, gnused, procps, swt, gtk2, glib, libXtst }:
|
{ stdenv, fetchurl, makeWrapper, jre, cpio, gawk, gnugrep, gnused, procps, swt, gtk2, glib, libXtst }:
|
||||||
|
|
||||||
let version = "4.6.0";
|
let
|
||||||
|
version = "4.6.0";
|
||||||
|
rev = "2"; #tracks unversioned changes that occur on download.code42.com from time to time
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "crashplan-${version}";
|
name = "crashplan-${version}-r${rev}";
|
||||||
|
|
||||||
crashPlanArchive = fetchurl {
|
crashPlanArchive = fetchurl {
|
||||||
url = "https://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_${version}_Linux.tgz";
|
url = "https://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_${version}_Linux.tgz";
|
||||||
sha256 = "0h9zk6i1pdvl101c8l4v4x6i7q4wkmkqp2dkm0lq7ha96lrvac47";
|
sha256 = "13rmmdj048r8k4v7ig4i6pnvwyzc1vasfgksf070bx6ksklgbq47";
|
||||||
};
|
};
|
||||||
|
|
||||||
srcs = [ crashPlanArchive ];
|
srcs = [ crashPlanArchive ];
|
||||||
|
Loading…
Reference in New Issue
Block a user