X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 51747DC0137 for ; Sat, 23 Jan 2016 04:39:48 +0000 (UTC) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 1982FDC00BB for ; Sat, 23 Jan 2016 04:39:47 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id cy9so51807366pac.0 for ; Fri, 22 Jan 2016 20:39:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=CBRIdTXCqWXlA3Kn5rCFIPLQJ3eNnbiyNM3qkgYLCJg=; b=GqioFYiwKRpNhecDLGfaMz6syXJT/exoJv5LQ0bzzSmwF+1IN0SMdega25Qn1Q+Atu lnLx+0Ffd2/+4nQBe+O84iFPMvjfsV2jh3FAK2eSXkDSCqwO7VR55o0wEYojA0KpDLF8 Lz0ngCrm30qka0iii2i1fTdtBfUTYnAO64BCeq6m/E0vRcf5jmVjXDHWCLJEuV6LwFHm L4XPU1BPWACKxTD4UMsG5i53reXToxibyF/45/m6lAI0IGdphvzvmspeH7VoVj04qnMC 7tdYfjzhVkR2+9yrLIq3kcIQ7CRnSuBrtvb1dUUfmlt29YqOUx0EVRhIIUr5Oe+tUOtC qJOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=CBRIdTXCqWXlA3Kn5rCFIPLQJ3eNnbiyNM3qkgYLCJg=; b=OmNALH0PEXXy1S4z1vFLkbtkBe+aMMhHjuoLwTh1TP17idC6WAUoRJx9NUIMvg1pHx lhWFBm3M9yz/T/tRiE1SBA9eMMkNUnX9m8uP4qvI0H5jfURys0EQU/n/Sy7dlFyXa6WF LA95+0eeMv+tNTtFvKJ51mfDilFNxGE8picrKxTxMWPYssCUpyOooqHmTLMu93HJIOHc FNWVjD2zw5RwtQNsw+vGyrkKtedsK68NOMonO0Y/Gh/wR+zXLp9cA7yL1HT4r044dgUH +WWPz0Z4hTE5mTxum4tpSFNWNF3qw7cSodLvKeLzNrGRuiXp7t/GDFfQkPZM/fWuVMEH ef+g== X-Gm-Message-State: AG10YOQB5ZFZspnMnnoWB88o3983WT0dNVwogDeDBu+iP3W+QDpvConLvMRSqcE4FTcdjg== X-Received: by 10.66.139.166 with SMTP id qz6mr9631626pab.148.1453523986848; Fri, 22 Jan 2016 20:39:46 -0800 (PST) Received: from newbook ([50.0.225.136]) by smtp.gmail.com with ESMTPSA id fi16sm13070206pac.12.2016.01.22.20.39.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jan 2016 20:39:46 -0800 (PST) Date: Fri, 22 Jan 2016 20:39:43 -0800 From: Isaac Dunham To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] Exactly when do triggers run? Message-ID: <20160123043942.GB8310@newbook> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: ClamAV using ClamSMTP Hello, I'm wondering what causes triggers to run. Specifically, it seems that a trigger only runs if the watched files/dirs are changed *by another package*. Is this expected behavior, or a case of a situation not being expected? (Or is it simply that the trigger does not exist during the package upgrades?) In case you're wondering what I'm trying to do: I've built ted with both GTK (/usr/bin/Ted) and Motif (/usr/bin/Ted.motif) versions. I'd like the Motif version to automatically get a link to it if there's not already a /usr/bin/Ted binary. This should happen even if I do apk add ted apk add ted-motif apk del ted I've been trying to do this thus: ted-motif provides ted ted-motif has a trigger watching /usr/bin/Ted* The trigger never goes off. Experimenting, I see that "provides=$PKG" doesn't work like I thought; it results in $PKG being replaced. So it should work to simply install Ted.motif as Ted. Thanks, Isaac Dunham --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---