[pacman-dev] [PATCH 7/7] do not run scriptlets with --dbonly
Andrew Gregory
andrew.gregory.8 at gmail.com
Sat Oct 12 13:32:10 EDT 2013
Running an install script does not fall under "Adds/removes the database
entry only."
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
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
More information about the pacman-dev
mailing list