[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:12105] Re: historical info
樽石ã§ã™ã€‚
At Wed, 20 Jan 1999 21:40:16 +0900,
Mitsuru Oka wrote:
> kenn> preinst ã¯ã¾ã•ã—ãインストール(ã¨ã„ã†ã‹ã€æ£ã—ãã¯unpack)ã®ãŸã‚
> kenn> ã®preconditionを満足ã•ã›ã‚‹ãŸã‚ã®ã‚‚ã®ã§ã™ãŒã€Debianã®å ´åˆã«ã¯æ¡
> kenn> 件を定義ã™ã‚‹ã‚‚ã®ã§ã¯ãªãã¦å˜ã«shell scriptã§ã™(ã§ã¯ãªã„ã‚‚ã®ã‚‚
> kenn> ã‚ã‚‹ãŒ)よã。柔軟ãªã®ã ã‘ã‚Œã©ã€ã“ã“ã¯ã‚€ã—ã‚事å‰æ¡ä»¶ã ã‘ã‚’ãã£ã¡
> kenn> り記述ã™ã‚Œã°dpkgå´ã§ãã®æ¡ä»¶ã‚’満ãŸã™å‡¦ç†ã‚’実行ã™ã‚‹ã€ã¨ã„ã†ã‚ˆã†
> kenn> ã«ã—ãŸã„ã§ã™ã‚ˆã。
事å‰æ¡ä»¶ã‚’ãã£ã¡ã‚Šè¨˜è¿°ã—ã¦ã„ã‚‹ã®ãŒ preinst ã§ã¯ãªã„ã‹ã¨ã„ã†
考ãˆã¯ãŠã‹ã—ã„ã§ã—ょã†ã‹ï¼Ÿ
例ãˆã°ã€diversion ã‚’ã—ãŸã„å ´åˆãªã‚“ã‹ã¯
dpkg-divert --package hoge --add --rename \
--divert hoge.no hoge
ã£ã¦äº‹å‰æ¡ä»¶ãã£ã¡ã‚ŠæŒ‡å®šã—ã¦ã¾ã™ã‚ˆã。
~$ dpkg -S dpkg-divert
dpkg: /usr/man/man1/dpkg-divert.1.gz
dpkg: /usr/sbin/dpkg-divert
> ã§ã™ã‚ˆã。åˆã‚㦠preinst ã‚ãŸã‚Šã®ã‚¹ã‚¯ãƒªãƒ—トã®å˜åœ¨ã‚’知ã£ãŸæ™‚
> ã¯çµæ§‹ãŒã£ã‹ã‚Šã—ã¾ã—ãŸã€‚ã‚‚ã†ã¡ã‚‡ã£ã¨ãƒ¢ãƒ‡ãƒ«åŒ–ã•ã‚Œã¦ã‚‹ã‹ã¨æ€ã£
> ã¦ã„ãŸã®ã§...。最近ã®ãƒ‘ッケージを見ã¦ã„ã‚‹ã¨ã€å¤§éƒ¨åˆ†ã¯ç¢ºã‹ã«
> ルール記述ã«ç½®ã変ãˆã‚‰ã‚Œãã†ãªæ„Ÿã˜ãŒã‚ã‚Šã¾ã™ã€‚
ã‚ã¾ã‚Šã€å®Ÿè¡Œæ™‚ã«ãƒ¢ãƒ‡ãƒ«åŒ–ã—ãŸã‚‚ã®ã°ã‹ã‚Šã«ã™ã‚‹ã¨ã‚ªãƒ¼ãƒãƒ˜ãƒƒãƒ‰ãŒ
大ãããªã‚‹ã¨ãªã‚‹ã¨æ€ã„ã¾ã™ã€‚ãれより㯠debhelper ãŒã‚‚ã£ã¨é«˜æ©Ÿèƒ½
ã«ãªã£ã¦ã€ build 時ã«å‡¦ç†ã§ãるよã†ã«ã—ãŸã»ã†ãŒè‰¯ã„ã¨æ€ã„ã¾ã™ã€‚
----
Masato Taruishi <taruis-m@xxxxxxxxxxxxx> | University of Electro Comunications
<taru@debian.or.jp> | Department of Computer Science
<taru@xxxxxxxxxxxxx> | Junior
<taru@debian.org> | Chofu City Tokyo, JAPAN
Key fingerprint = 49 46 74 E1 8D D1 EB 56 8D CA 2A 20 14 9E A9 25