0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

既存のpkgファイルを展開し再度pkg化する方法

Posted at

特殊な事情で「Distribution.xml」を書き換えなければいけない場合などに。

# パッケージの展開
pkgutil --expand /path/to/package.pkg /path/to/output_dir
# 再度パッケージ化
pkgutil --flatten /path/to/output_dir /path/to/new_package.pkg
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?