CLI - FIND command installing software update
So I extract an update to a package that creates one of the folders below and then I run "$(find . -name install.sh)" to find and install the update. It seems to go just fine. How? If the other versions were also there? Which install.sh gets run?
# find -name install.sh ./Program_5.1.8341.5506_Install/install.sh ./Program_5.0.8132.5459_Install/install.sh ./Program_5.2.8724.5567_Install/install.sh ./Program_5.1.8473.5522_Install/install.sh |
whatever one YOU select
|
See install script which unpacks and runs.
|
Quote:
Quote:
edit: Actually I see you ran "$(find . -name install.sh)" rather than "find . -name install.sh". In that case it will likely run the first one it finds. You're much better off separating the find and the execution: Code:
find . -name install.sh Code:
./Program_5.2.8724.5567_Install/install.sh |
Quote:
|
All times are GMT -5. The time now is 07:11 AM. |