WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Request Zip-Unzip  (Read 4123 times)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Request Zip-Unzip
« on: June 08, 2012, 02:57:43 AM »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Request Zip-Unzip
« Reply #1 on: June 08, 2012, 09:24:17 PM »
Done, a simple port of Arslan's tcz package.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Request Zip-Unzip
« Reply #2 on: June 09, 2012, 04:57:17 AM »
Done, a simple port of Arslan's tcz package.
In initial tests it working but produces the following inconvenient anomaly.

Code: [Select]
echo $PATH
/home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/apps/bin:/etc/sysconfig/tcedir/ondemand
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.
   

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Request Zip-Unzip
« Reply #3 on: June 09, 2012, 11:24:25 AM »
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.


Agreeed. Will be in next cut.
10+ Years Contributing to Linux Open Source Projects.