My suggestion is to load up a "version file" together with the software bundle. You script would then download the version file first (the file would contain only the version as text), compare that to the version installed and then either do nothing or go through the update routine.
Something like:
Probably not the most elegant solution, but you sure can start with that and add some elaboration, so i hope this helps.
Hi
I need a Shell script that will download a text file every second from a http server using wget.
Can anyone provide me any pointers or sample scripts that will help me go about this task ???
regards
techie (1 Reply)
Hello Everyone,
I'm trying to use wget recursively to download a file.
Only html files are being downloaded, instead of the target file.
I'm trying this for the first time, here's what I've tried:
wget -r -O jdk.bin... (4 Replies)
Hi All
I want to download srs8.3.0.1.standard.linux24_EM64T.tar.gz file from the following website :
http://downloads.biowisdomsrs.com/srs83_dist/
But this website contains lots of zipped files
I want to download the above file only discarding other zipped files.
When I am trying the... (1 Reply)
I need to download the following srs8.3.0.1.standard.linux26_32.tar.gz file from the following website:
http://downloads.biowisdomsrs.com/srs83_dist
There are many gzip files along with the above one in the above site but I want to download the srs8.3.0.1.standard.linux26_32.tar.gz only from... (1 Reply)
Hi,
I want to download some online data using wget command and write the contents to a file.
For example this is the URL i want to download and store it in a file called "results.txt".
#This is the URL.
$url="http://www.example.com";
#retrieve data and store in a file results.txt
... (3 Replies)
Ok, this is quite weird.
wget -r mysite.com/mylink/
should get all the files recursively from the 'mylink' folder.
The problem is that wget saves an index.html file!
When I open this index.html with my browser I realize that it shows all the files in the current folder (plus an option to move... (3 Replies)
I am using ubuntu 10.04 LTS
I tried to download the file using wget , the file size is 105.00 MB, but wget downloads only around 44K.
may be I am using wget in wrong way, any suggestions please?
Below is the command I used and the response from system.
wget --tries=10 -nd -nH --use=user... (10 Replies)
Hi
I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget.
Can anyone will help me go about this task ???
Thanks!! (1 Reply)
Hi
I am trying to download the file using wget command. But The password was created as pwd$$ for the user xyz. When i give the command as below it is not downloading the file. Will the password has $$ causing this issue.
wget... (0 Replies)
Hi All,
I am trying to download a XML from a URL through wget and successful in that but the problem is that I have to check for some special characters inside that XML. But when I download through wget it transfers the content of the XML in plain text and I'm not able to search for those... (2 Replies)
Discussion started by: dips_ag
2 Replies
LEARN ABOUT DEBIAN
carton::doc::install
Carton::Doc::Install(3pm) User Contributed Perl Documentation Carton::Doc::Install(3pm)NAME
Carton::Doc::Install - Install the dependencies
SYNOPSIS
carton install [--deployment] [--path=PATH] [modules...]
DESCRIPTION
Install the dependencies for your application. This command has two modes and the behavior is slightly different.
DEVELOPMENT MODE
carton install (no arguments)
If you run "carton install" without any arguments and if cpanfile exists, carton will scan dependencies from cpanfile and install the
modules.
In either way, if you run "carton install" for the first time (i.e. carton.lock does not exist), carton will fetch all the modules
specified, resolve dependencies and install all required modules from CPAN.
If carton.lock file does exist, carton will still try to install modules specified or updated in cpanfile, but uses carton.lock for the
dependency resolution, and then cascades to CPAN.
carton will analyze all the dependencies and their version information, and it is saved into carton.lock file. It is important to add
carton.lock file into a version controlled repository and commit the changes as you update your dependencies.
DEPLOYMENT MODE
If you specify the "--deployment" command line option or the carton.lock exists and cpanfile does not exist, carton will fetch all remote
modules and use the dependencies specified in the carton.lock instead of resolving dependencies.
CONSERVATIVE UPDATE
"carton install" doesn't update the modules already installed into local library path as long as the version is satisfied.
For example, one day you install URI-1.50 from CPAN:
> carton install URI
Successfully installed URI-1.50
Few weeks later, URI module is updated to 1.51 on CPAN. If you run the "carton install URI" again:
> carton install URI
You have URI (1.50)
because you haven't specified the version number, carton won't update the module in your local library path.
WARNINGS: following commands are not implemented
If you want to update to the latest version of CPAN, you can either use "carton update" command, or specify the required version either in
your cpanfile.
> carton update URI
> cat cpanfile
requires 'URI', 1.51;
Any of those will upgrade URI to the latest one from CPAN, and the version specified in the carton.lock will be bumped.
OPTIONS --deployment
Force the deployment mode and carton will ignore cpanfile contents.
--path
Specify the path to install modules to. Defaults to local in the current directory.
perl v5.14.2 2012-04-12 Carton::Doc::Install(3pm)