diff options
author | Juuso Alasuutari | 2006-10-20 00:57:42 +0300 |
---|---|---|
committer | Juuso Alasuutari | 2006-10-20 00:57:42 +0300 |
commit | 412702cc1912f0e4fda22ff1d3ca9048d947a775 (patch) | |
tree | fc907e3971a1137dc6e713f59de56de67c9ee78d /printer/cups-old | |
parent | cdb3bd8e8afa531bb0ec24cfb2c3aca365ec546d (diff) |
cups-old: Switch to using is_depends_enabled, source
is_depends_enabled.function
Diffstat (limited to 'printer/cups-old')
-rw-r--r-- | printer/cups-old/HISTORY | 5 | ||||
-rwxr-xr-x | printer/cups-old/TRIGGERS | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/printer/cups-old/HISTORY b/printer/cups-old/HISTORY index 8edd5b2532..40b1fc7e78 100644 --- a/printer/cups-old/HISTORY +++ b/printer/cups-old/HISTORY @@ -1,3 +1,8 @@ +2006-10-20 Juuso Alasuutari <iuso@sourcemage.org> + * TRIGGERS: Rewritten to use is_depends_enabled, sources + is_depends_enabled.function (remove it when is_depends_enabled + is in stable sorcery). + 2006-09-21 Juuso Alasuutari <iuso@sourcemage.org> * DETAILS: [automated] Removed BUILD_API=2. diff --git a/printer/cups-old/TRIGGERS b/printer/cups-old/TRIGGERS index 9ac6d19d3e..38fde73694 100755 --- a/printer/cups-old/TRIGGERS +++ b/printer/cups-old/TRIGGERS @@ -1,6 +1,10 @@ -# replace with is_depends_enabled once it's available -if grep -q "$SPELL:linux-pam:on" "$DEPENDS_STATUS"; then - on_cast linux-pam cast_self -fi +# +## Remove this after is_depends_enabled is integrated to stable sorcery. +# +source "$GRIMOIRE/is_depends_enabled.function" && + +if is_depends_enabled $SPELL linux-pam; then + on_cast linux-pam cast_self +fi && on_cast gnutls check_self |