diff options
author | root | 2006-06-15 22:34:56 -0500 |
---|---|---|
committer | root | 2006-06-15 22:34:56 -0500 |
commit | a62cc635a64da99a4f1e6137b741c771d604b441 (patch) | |
tree | 0f6cfb9308b70afd80a80d0a7d337634be510fc8 | |
parent | 4af737cc21a91b04ad37f2bec007ad1fa3a90cf5 (diff) |
libcompat: 2006/06/15 sync stable from p4
-rwxr-xr-x | libcompat | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libcompat b/libcompat new file mode 100755 index 0000000000..0cd7fd6b06 --- /dev/null +++ b/libcompat @@ -0,0 +1,20 @@ +# ignore sub_depends if not supported by sorcery +declare -f sub_depends &> /dev/null || +function sub_depends() { + : +} + +# ignore force_depends if not supported by sorcery +declare -f force_depends &> /dev/null || +function force_depends() { + : +} + +#------------------------------------------------------------------------- +## Grimoire gaze depends alternative +## Uses gaze depends if the internal sorcery function isn't available +#------------------------------------------------------------------------- +declare -f fast_up_depends &> /dev/null || +function fast_up_depends() { + gaze -q depends --fast "$@" +} |