Rename prepost-{inst,rm} to just INSTALL/REMOVE.

Some other changes related for this:
 - Modify binpkg.sh to always insert the INSTALL script at head of
   the archive, and appending files after it.
 - Modify binpkg.sh to compress binpkgs with bzip2 -9 to save some bytes.

--HG--
extra : convert_revision : b651b944f11c48dede1bbcea658182bf0984e8f3
This commit is contained in:
Juan RP 2009-02-26 18:01:18 +01:00
parent a0ee2ee61b
commit a00ae944b5
7 changed files with 36 additions and 25 deletions

View file

@ -13,8 +13,8 @@ with bzip2 and has the following structure:
/var/db/xbps/metadata/$pkgname
/var/db/xbps/metadata/$pkgname/flist
/var/db/xbps/metadata/$pkgname/props.plist
/var/db/xbps/metadata/$pkgname/prepost-inst
/var/db/xbps/metadata/$pkgname/prepost-rm
/var/db/xbps/metadata/$pkgname/INSTALL
/var/db/xbps/metadata/$pkgname/REMOVE
Metadata info is stored in the "/var/db/xbps/metadata/$pkgname"
directory and two files will be always be present: flist and props.plist.
@ -61,7 +61,7 @@ has the following structure:
...
</dict>
The prepost-* executables allows you to trigger any action
The INSTALL/REMOVE executables allows you to trigger any action
at pre/post installation/removal of the binary package.
The package's dictionary will also be written into the repository's package