Running an install script does not fall under "Adds/removes the database
entry only."

Signed-off-by: Andrew Gregory <[email protected]>
---
 src/pacman/pacman.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 9976a8d..f485692 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -618,6 +618,7 @@ static int parsearg_trans(int opt)
                        break;
                case OP_DBONLY:
                        config->flags |= ALPM_TRANS_FLAG_DBONLY;
+                       config->flags |= ALPM_TRANS_FLAG_NOSCRIPTLET;
                        break;
                case OP_NOPROGRESSBAR:
                        config->noprogressbar = 1;
-- 
1.8.4


Reply via email to