この例でdebパッケージをビルドする方法を見つけました。
http://blog.noizeramp.com/2005/08/31/packaging-java-applications-for-ubuntu-and-other-debians/
ファイルのインストール後にファイルのアクセス許可を設定する方法に興味がありますか?
Package: myapp
Version: _version_
Section: web
Priority: optional
Architecture: all
Maintainer: Aleksey Gureev
Description: my first sample application which isn't
doing anything special.
.
And other description goes
here too.
.
あなたはしません。代わりに、パッケージの作成時にファイルのアクセス許可を設定します。
debhelper
パッケージングに使用する場合、これは次のようになりますdebian/rules
。
override_dh_fixperms:
dh_fixperms
find debian -name '*.jar' -exec chmod 0644 {} +
そして、ランダムな10年前のブログ投稿ではなく、適切なDebianパッケージチュートリアルに従う必要があります。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加