Off-Topic > SCM Extension Requests

Request Zip-Unzip

(1/1)

SamK:
As mentioned in reply #9 http://forum.tinycorelinux.net/index.php/topic,13382.msg74384.html
   

Jason W:
Done, a simple port of Arslan's tcz package.

SamK:

--- Quote from: Jason W on June 08, 2012, 09:24:17 PM ---Done, a simple port of Arslan's tcz package.
--- End quote ---
In initial tests it working but produces the following inconvenient anomaly.


--- Code: ---echo $PATH
/home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/apps/bin:/etc/sysconfig/tcedir/ondemand
--- End code ---
When multiple apps with a common name are installed, this standard path gives precedence to the app in a "user" area over the app provided by the OS.  In this case issuing the app name will run the user installed app.  This seems quite logical as, if a user chooses to install an app with the same name as one already provided by the OS, it is likely that the user wishes to run their selection rather than the OS default. 

For scm apps this does not apply; scm apps are added to the path after the OS default selections.  This means that the full path to an scm app must always be used, which is not the case for an equivalent tcz app.

In order for there to be parity between scm and tcz apps they should both appear in the path ahead of the OS defaults.
   

roberts:

--- Quote ---... scm apps are added to the path after the OS default selections.  This means that the full path to an scm app must always be used, which is not the case for an equivalent tcz app.

In order for there to be parity between scm and tcz apps they should both appear in the path ahead of the OS defaults.
--- End quote ---


Agreeed. Will be in next cut.

Navigation

[0] Message Index

Go to full version