Commit Graph

14 Commits

Author SHA1 Message Date
Juan RP
13d43973c9 Add the "essential" var for use in templates.
This will be used to mark packages that shouldn't be
removed if it's being updated, e.g libc.

--HG--
extra : convert_revision : bba7d14b2d112edaf17e6adc04a222a3d663da34
2009-06-07 08:05:17 +02:00
Juan RP
f3c5c5fe96 shutils/metadata.sh: do not compress non info files.
--HG--
extra : convert_revision : f47d7a574ac8b22c539420ab572d38cef38a527e
2009-05-15 03:09:38 +02:00
Juan RP
9a3f2e7c3d Handle openrc_services more gracefully.
1) There's no need to specify the trigger anymore.
2) There's no need to add the OpenRC run dependency anymore.

Just specifying $openrc_services is enough.

--HG--
extra : convert_revision : 34e4d6d37a07a18837ef2216474ee0ca6fd55124
2009-05-14 21:26:44 +02:00
Juan RP
513e1aa2ef shutils/metadata.sh: fix comment in previous.
--HG--
extra : convert_revision : aa3fda95fc515c9cd31f1f46ab417dffd47a254b
2009-05-14 19:32:42 +02:00
Juan RP
a8a9a42977 shutils/metadata.sh: add update-desktopdb trigger automatically.
If a package contains any .desktop file in /usr/share/applications
the trigger will be added automagically.

--HG--
extra : convert_revision : 2327dc43c9a0997814d35fab22e3cb950fc0e09a
2009-05-14 19:16:17 +02:00
Juan RP
706782cf0c shutils: allow subpkgs to use INSTALL/REMOVE scripts.
subpkgs to use them need to have ${pkgname}.INSTALL/REMOVE scripts
on the directory.

--HG--
extra : convert_revision : 293def453dd17d5bbdd68c9b25f8f2f16d673a8e
2009-05-05 00:19:25 +02:00
Juan RP
17a5ad3a3d shutils: allow subpkgs to have INSTALL/REMOVE scripts.
--HG--
extra : convert_revision : 4f60ecbd143b5d7d8d168e963c1030e00ad41247
2009-05-04 23:43:32 +02:00
Juan RP
75bd88afc6 Rework how $revision is used. Works much better in all cases.
$version is not modified anymore.

--HG--
extra : convert_revision : a83408f47e22db2f34cd33d6d47eb2f045ae2758
2009-03-28 08:27:29 +01:00
Juan RP
231b3fb32d Kill $install_priority. It was a hack and it's not needed anymore.
--HG--
extra : convert_revision : 993ed90732f140166d8b7f49475debca2fba30b1
2009-03-26 09:38:29 +01:00
Juan RP
509b140eba metadata.sh: don't create INSTALL/REMOVE scripts for subpkgs, for now.
--HG--
extra : convert_revision : 8026610f3ac2f4e4617142e6ce1370944b3dfac2
2009-03-20 05:14:34 +01:00
Juan RP
cf98ddde86 shutils/metadata.sh: better match for compressed info/manpage files.
--HG--
extra : convert_revision : 9bd1665f885de8203139aca155b73fd3581e66d9
2009-03-18 06:47:52 +01:00
Juan RP
c5180507d3 Better check to detect if pkg has info files.
--HG--
extra : convert_revision : 837f78240d6a59d511d5c0c5b0b9870d76b4b42c
2009-03-16 07:02:35 +01:00
Juan RP
855ec90fdf Add $register_shell var, to (un)register shells at post-{inst,rm} for binpkgs.
Multiple shells can be (un)registered by a single package, like:

register_shell="/bin/zsh-foo /bin/zsh-blah"

--HG--
extra : convert_revision : 0172a74b41e26089da97fcdc8cc2d5cb6ae147f2
2009-03-14 07:32:48 +01:00
Juan RP
16ed8945b7 Split metadata funcs for binpkgs into its own files.
--HG--
extra : convert_revision : 8a9e2aa7f5693ba6a4b11196923aff6b4d0c6b2f
2009-03-12 23:52:57 +01:00