如何將binary檔用shell script包裝? - Linux

Linda avatar
By Linda
at 2008-05-27T12:02

Table of Contents

※ 引述《j2re (j2re)》之銘言:
: Hi,某些binary檔案在使用時會需要一些額外的設置
: 通常為了方便起見會以alias或function的方式來呼叫
: 但是我似乎在某個adobe的安裝程式中看過將binary檔用shell script包裝的方式
: 就是說以vi開啟的話,前半部分是script,後半部分是binary
: 請問這是如何作到的呢?

用這個 http://www.megastep.org/makeself/
nvidia official driver也是這樣包的

--
The 4400 ~ A Place In Time ~ [Amanda Abizaid]

So long ago, another life, I can feel your heartbeat.
It's not a dream, remember us. I can see it in your eyes.
We'll find our place in time, a place in time beyond the sun.
We'll find our place in time, a place in time to call our own.

--
Tags: Linux

All Comments

Fedora YUM

Rachel avatar
By Rachel
at 2008-05-27T11:59
※ 引述《Maxsolar.bbsatOfO.twbbs.org (Astro v.s. Geo)》之銘言: : 可否請問大大,Fedora正確的升級方式(不是用光碟片升級)應該是如何呢? : 我的家中有一台fedora 6,我想要透過網路升級到7再升級到8, : 是不是只要改那些repos就可以了? 我自己 ...

新手問題

Isla avatar
By Isla
at 2008-05-27T11:51
最近想玩玩看ubuntu 但是還沒安裝就碰到了個小問題 我是用Virtual PC來安裝ubuntu7.10 desktop 一進入桌面之後,發現滑鼠完全不能用 只剩鍵盤能正常使用 有可能跟Virtual PC有關嘛? 還是說ubuntu要先設定什麼呢? 請多指教 andlt;(_ _)andgt; - ...

請問為何大多數的板友用Ubuntu?

Liam avatar
By Liam
at 2008-05-27T11:47
※ 引述《Edward.bbsatbbs.sayya.org (蒙古大夫 2.0)》之銘言: : ※ 引述《Hardi.bbsatptt.cc (at_at)》之銘言: : andgt; 但是圖書館發現Ubuntu的書很少 : andgt; 只有兩本 : andgt; 而且都被外借了 : andgt; 還蠻好 ...

Fedora YUM

Hedda avatar
By Hedda
at 2008-05-27T11:04
先將第三方repo移除 (ex:livna, freshrpms) 編輯yum.conf, 確定沒有exclude項目 將FC6升級到最新 yum update 再來到fedora網站找F7的release note rpm -Uvh http://.............../fedora- ...

回報:ubuntu8.04 On AcerTM4320

George avatar
By George
at 2008-05-27T11:02
規格: Acer TravelMate4320 201G08 除電源管理休眠有問題 其餘包括無線網卡(Broadcom) Webcam 均正常 Acer TM4320有好幾種可能的硬體, 我這台是: VGA - intel WLAN - Broadcom LAN - Broadcom WebCam ...