Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: jls on April 03, 2010, 08:46:33 AM

Title: ondemand shuld download the app if not present
Post by: jls on April 03, 2010, 08:46:33 AM
Since I have ~/.wmx/Ondemand in filetool I'd like the scripts generated by ondemand (from cpanel) to check if the tcz exists otherwise download it from the repo.

I also would like the ondemand script to accept a parameter so I can associate to a filetype the ondemand script where the parameter is the filename
Title: Re: ondemand shuld download the app if not present
Post by: Guy on April 03, 2010, 10:17:26 AM
Quote
I'd like the scripts generated by ondemand (from cpanel) to check if the tcz exists otherwise download it from the repo.

If something is not right, it may be a good idea to have a message displayed, explaining the situation, and suggesting what the user should do to fix it.

However, it is not a good idea to download or modify the system automatically, without the user requesting it.


Some people run Tiny Core without being connected to the internet.

Some people run modified extensions containing personal settings, for example, for printer setup. If these were updated automatically, the user may lose their settings. You don't want this being done automatically.

I have one modified extension, with a dep file. When I run update dep database, my dep file is removed, and the application doesn't work. I need to keep another copy, and put it back manually after running update dep database. If this type of thing happened automatically, it would cause me grief.